X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..ec830416c5468c3e5de95c648f6e9bd700b598bd:/wxPython/src/windows.i diff --git a/wxPython/src/windows.i b/wxPython/src/windows.i index f7386680f2..d9dfc0e849 100644 --- a/wxPython/src/windows.i +++ b/wxPython/src/windows.i @@ -10,8 +10,7 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// - -%module windows +%module(package="wx") _windows //--------------------------------------------------------------------------- @@ -19,22 +18,22 @@ #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 %include _panel.i -%include _accel.i %include _toplvl.i %include _statusbar.i %include _splitter.i