summaryrefslogtreecommitdiff
path: root/scripting/wx_python_helpers.h
blob: 2da11d654a731c241688b366d9cea43d63a6efcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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