]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gdi.i
wxScreenDC also needs a pango context and layout so it can do GetTextExtent
[wxWidgets.git] / wxPython / src / gdi.i
index c622181a4f921d61b6c0329e11f2c301f6f4458a..453b0e9f8e2a78d8e449e44c0582cc427863af1b 100644 (file)
@@ -10,7 +10,7 @@
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-%module gdi
+%module _gdi
 
 //---------------------------------------------------------------------------
 
 #include "wx/wxPython/wxPython.h"
 #include "wx/wxPython/pyclasses.h"
     
-    DECLARE_DEF_STRING(EmptyString);
 %}
 
 //---------------------------------------------------------------------------
 
 %import core.i
-%pythoncode { wx = core }
+%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);
+
 
+// Include all the files that make up this module
 
-// GDI
 %include _gdiobj.i
 %include _colour.i
 %include _palette.i