X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd9f7fea29e3f8bb61861f52984b7943512346ac..78577dcb71a8d748b9f5708321c3956c8b83bbe1:/wxPython/src/controls.i diff --git a/wxPython/src/controls.i b/wxPython/src/controls.i index ce2dfcc5eb..eb0cd7ea07 100644 --- a/wxPython/src/controls.i +++ b/wxPython/src/controls.i @@ -10,29 +10,34 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -%module controls +%module _controls //--------------------------------------------------------------------------- %{ #include "wx/wxPython/wxPython.h" #include "wx/wxPython/pyclasses.h" - - DECLARE_DEF_STRING(PanelNameStr); - DECLARE_DEF_STRING(EmptyString); - DECLARE_DEF_STRING(ControlNameStr); - %} - + //--------------------------------------------------------------------------- %import core.i -%pythoncode { wx = core } +%pythoncode { wx = _core } +%pythoncode { __docfilter__ = wx.__docfilter__ } + +%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 -%include _controls_rename.i //%include _control.i <-- It's in core so other modules don't have to %import controls.i %include _button.i