diff options
Diffstat (limited to 'scripting/wx_python_helpers.h')
-rw-r--r-- | scripting/wx_python_helpers.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/scripting/wx_python_helpers.h b/scripting/wx_python_helpers.h new file mode 100644 index 0000000..2da11d6 --- /dev/null +++ b/scripting/wx_python_helpers.h @@ -0,0 +1,18 @@ +#ifndef __wx_helpers_h +#define __wx_helpers_h + +#include <Python.h> +#include <wx/intl.h> +#include <wx/string.h> +#include <wx/arrstr.h> + + +PyObject* wxArrayString2PyList( const wxArrayString& lst ); +wxString* newWxStringFromPy( PyObject* source ); +wxString Py2wxString( PyObject* source ); +PyObject* wx2PyString( const wxString& src ); + +void wxSetDefaultPyEncoding( const char* encoding ); +const char* wxGetDefaultPyEncoding(); + +#endif |