2016-09-20 15:59:43 +00:00
|
|
|
#ifndef WX_HELPERS_H_
|
|
|
|
#define WX_HELPERS_H_
|
2012-03-10 21:40:41 +00:00
|
|
|
|
|
|
|
#include <Python.h>
|
|
|
|
#include <wx/intl.h>
|
|
|
|
#include <wx/string.h>
|
2012-04-23 06:59:37 +00:00
|
|
|
#include <wx/arrstr.h>
|
2012-03-10 21:40:41 +00:00
|
|
|
|
2012-04-23 06:59:37 +00:00
|
|
|
|
2012-06-27 21:19:19 +00:00
|
|
|
PyObject* wxArrayString2PyList( const wxArrayString& lst );
|
|
|
|
wxString* newWxStringFromPy( PyObject* source );
|
|
|
|
wxString Py2wxString( PyObject* source );
|
|
|
|
PyObject* wx2PyString( const wxString& src );
|
2012-04-23 06:59:37 +00:00
|
|
|
|
2012-06-27 21:19:19 +00:00
|
|
|
void wxSetDefaultPyEncoding( const char* encoding );
|
2012-03-10 21:40:41 +00:00
|
|
|
const char* wxGetDefaultPyEncoding();
|
|
|
|
|
2016-09-20 15:59:43 +00:00
|
|
|
#endif // WX_HELPERS_H_
|