]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/windows.i
wxCheckListBox doesn't require wxUSE_OWNER_DRAWN when using WXUNIVERSAL
[wxWidgets.git] / wxPython / src / windows.i
index f7386680f2dd10e9dfa8f03b1d49f1828fe1d868..d9dfc0e8499f166ed2dccaef17659ed8795fb599 100644 (file)
@@ -10,8 +10,7 @@
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-
-%module windows
+%module(package="wx") _windows
 
 //---------------------------------------------------------------------------
 
 
 //---------------------------------------------------------------------------
 
 #include "wx/wxPython/wxPython.h"
 #include "wx/wxPython/pyclasses.h"
     
 #include "wx/wxPython/wxPython.h"
 #include "wx/wxPython/pyclasses.h"
     
-    DECLARE_DEF_STRING(PanelNameStr);
-    DECLARE_DEF_STRING(EmptyString);
-    
 %}
 
 //---------------------------------------------------------------------------
 
 %import core.i
 %}
 
 //---------------------------------------------------------------------------
 
 %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
 %include _panel.i
 
 
 // Include all the files that make up this module
 %include _panel.i
-%include _accel.i
 %include _toplvl.i
 %include _statusbar.i
 %include _splitter.i
 %include _toplvl.i
 %include _statusbar.i
 %include _splitter.i