]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/controls.i
added a test to check how exception handling works with Win32 SEH; corrected copyright
[wxWidgets.git] / wxPython / src / controls.i
index 502b4346fcc8d6a40084be3c5fa9312348b8e6f8..c72ff6fc2efc8d66e35ec59f1bc5f51e6a221e78 100644 (file)
@@ -10,7 +10,7 @@
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-%module controls
+%module(package="wx") _controls
 
 //---------------------------------------------------------------------------
 
 //---------------------------------------------------------------------------
 
 %import core.i
-%pythoncode { wx = core }
+%pythoncode { wx = _core }
 
-%include _controls_rename.i
+%include __controls_rename.i
 
 MAKE_CONST_WXSTRING_NOSWIG(PanelNameStr);
 MAKE_CONST_WXSTRING_NOSWIG(EmptyString);
 MAKE_CONST_WXSTRING_NOSWIG(ControlNameStr);
 
+%{
+    const wxArrayString wxPyEmptyStringArray;
+%}
+
 
 // Include all the files that make up this module