kicad-source/scripting/wx_python_helpers.h

21 lines
425 B
C
Raw Normal View History

2012-03-10 22:40:41 +01:00
#ifndef __wx_helpers_h
#define __wx_helpers_h
#include <Python.h>
#include <wx/intl.h>
#include <wx/string.h>
#include <wx/arrstr.h>
2012-03-10 22:40:41 +01:00
PyObject* wxArrayString2PyList(const wxArrayString& lst);
2012-03-10 22:40:41 +01:00
wxString* newWxStringFromPy(PyObject* source);
wxString Py2wxString(PyObject* source);
PyObject* wx2PyString(const wxString& src);
void wxSetDefaultPyEncoding(const char* encoding);
const char* wxGetDefaultPyEncoding();
#endif