X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e0c87227cf6b6215d169985d2bb5d2421a74512..db679b8c836e69c111cdc31e62cf92cebe4f938f:/wxPython/src/windows.i?ds=sidebyside diff --git a/wxPython/src/windows.i b/wxPython/src/windows.i index 33e3d5dca1..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,17 +18,18 @@ #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