X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e0c87227cf6b6215d169985d2bb5d2421a74512..4ed51f4d1c02f01489df35b25a96a1d5b25c1478:/wxPython/src/windows.i?ds=sidebyside diff --git a/wxPython/src/windows.i b/wxPython/src/windows.i index 33e3d5dca1..dc94478a11 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,17 +18,16 @@ #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 +MAKE_CONST_WXSTRING_NOSWIG(EmptyString); +MAKE_CONST_WXSTRING_NOSWIG(PanelNameStr); // Include all the files that make up this module