]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gdi.i
Adding overview docs and a couple tweaks to the demo.
[wxWidgets.git] / wxPython / src / gdi.i
index 75400d5a21f83873aca9255da7ee5ee2ceb22e9f..cbeed1abe346e31ba65bc776b8a6d1e333fc5213 100644 (file)
@@ -10,7 +10,7 @@
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-%module gdi
+%module(package="wx") _gdi
 
 //---------------------------------------------------------------------------
 
 #include "wx/wxPython/wxPython.h"
 #include "wx/wxPython/pyclasses.h"
     
-    DECLARE_DEF_STRING(EmptyString);
 %}
 
 //---------------------------------------------------------------------------
 
 %import core.i
-%pythoncode { wx = core }
+%pythoncode { wx = _core }
 
+MAKE_CONST_WXSTRING_NOSWIG(EmptyString);
 
-// Include all the files that make up this module
-
-%include _gdi_rename.i
 
+// Include all the files that make up this module
 
-// GDI
 %include _gdiobj.i
 %include _colour.i
 %include _palette.i
 %include _font.i
 %include _intl.i
 %include _dc.i
+%include _graphics.i
+%include _overlay.i
 %include _imaglist.i
 %include _stockobjs.i
 %include _effects.i
-
+%include _renderer.i
+%include _pseudodc.i
 
 //---------------------------------------------------------------------------
+%init %{
+    // Work around a chicken/egg problem in drawlist.cpp
+    wxPyDrawList_SetAPIPtr();
+%}
+
 //---------------------------------------------------------------------------