X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..da8d6ffa5790529ae784345cb4441a3956751193:/wxPython/src/core.i?ds=sidebyside diff --git a/wxPython/src/core.i b/wxPython/src/core.i index 3793026d6f..5dd883fdc1 100644 --- a/wxPython/src/core.i +++ b/wxPython/src/core.i @@ -10,8 +10,7 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -%module core - +%module _core %{ #include "wx/wxPython/wxPython_int.h" @@ -26,16 +25,15 @@ %include my_typemaps.i %include _core_api.i -%include _core_rename.i - - +%include __core_rename.i %native(_wxPySetDictionary) __wxPySetDictionary; +%native(_wxPyFixStockObjects) __wxPyFixStockObjects; %pythoncode { %#// Give a reference to the dictionary of this module to the C++ extension %#// code. -_core._wxPySetDictionary(vars()) +_core_._wxPySetDictionary(vars()) %#// A little trick to make 'wx' be a reference to this module so wx.Names can %#// be used here. @@ -45,18 +43,16 @@ wx = _sys.modules[__name__] #endif -//--------------------------------------------------------------------------- -%{ - DECLARE_DEF_STRING(EmptyString); - DECLARE_DEF_STRING(PanelNameStr); -%} //--------------------------------------------------------------------------- // Include all the files that make up the core module // wxObject, functions and other base stuff %include _defs.i + +MAKE_CONST_WXSTRING(EmptyString); + %include _obj.i %include _gdicmn.i %include _streams.i @@ -68,6 +64,7 @@ wx = _sys.modules[__name__] %include _evthandler.i %include _event.i %include _app.i +%include _accel.i %include _window.i %include _validator.i %include _menu.i