#include "wx/wxPython/wxPython.h"
#include "wx/wxPython/pyclasses.h"
- DECLARE_DEF_STRING(EmptyString);
%}
//---------------------------------------------------------------------------
%import core.i
%pythoncode { wx = core }
+%include _gdi_rename.i
-// Include all the files that make up this module
-%include _gdi_rename.i
+MAKE_CONST_WXSTRING_NOSWIG(EmptyString);
-// GDI
+// Include all the files that make up this module
+
%include _gdiobj.i
%include _colour.i
%include _palette.i
%include _dc.i
%include _imaglist.i
%include _stockobjs.i
-%include _dragimg.i
%include _effects.i
//---------------------------------------------------------------------------
+%init %{
+ // Work around a chicken/egg problem in drawlist.cpp
+ wxPyDrawList_SetAPIPtr();
+%}
+
//---------------------------------------------------------------------------