wx_python_helpers.h 449 Bytes
Newer Older
1 2 3 4 5 6
#ifndef __wx_helpers_h
#define __wx_helpers_h

#include <Python.h>
#include <wx/intl.h>
#include <wx/string.h>
7
#include <wx/arrstr.h>
8

9

10 11 12 13
PyObject*   wxArrayString2PyList( const wxArrayString& lst );
wxString*   newWxStringFromPy( PyObject* source );
wxString    Py2wxString( PyObject* source );
PyObject*   wx2PyString( const wxString& src );
14

15
void        wxSetDefaultPyEncoding( const char* encoding );
16 17 18
const char* wxGetDefaultPyEncoding();

#endif