]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/windows.i
warning fix
[wxWidgets.git] / wxPython / src / windows.i
index 33e3d5dca12b1c825f4a4667f80248ecbfcb3abb..d9dfc0e8499f166ed2dccaef17659ed8795fb599 100644 (file)
@@ -10,8 +10,7 @@
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-
-%module windows
+%module(package="wx") _windows
 
 //---------------------------------------------------------------------------
 
 #include "wx/wxPython/wxPython.h"
 #include "wx/wxPython/pyclasses.h"
     
-    DECLARE_DEF_STRING(PanelNameStr);
-    DECLARE_DEF_STRING(EmptyString);
-    
 %}
 
 //---------------------------------------------------------------------------
 
 %import core.i
-%pythoncode { wx = core }
+%pythoncode { wx = _core }
+
+%include __windows_rename.i
+
 
-%include _windows_rename.i
+MAKE_CONST_WXSTRING_NOSWIG(EmptyString);
+MAKE_CONST_WXSTRING_NOSWIG(PanelNameStr);
 
 
 // Include all the files that make up this module