You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
449 B

  1. #ifndef __wx_helpers_h
  2. #define __wx_helpers_h
  3. #include <Python.h>
  4. #include <wx/intl.h>
  5. #include <wx/string.h>
  6. #include <wx/arrstr.h>
  7. PyObject* wxArrayString2PyList( const wxArrayString& lst );
  8. wxString* newWxStringFromPy( PyObject* source );
  9. wxString Py2wxString( PyObject* source );
  10. PyObject* wx2PyString( const wxString& src );
  11. void wxSetDefaultPyEncoding( const char* encoding );
  12. const char* wxGetDefaultPyEncoding();
  13. #endif