X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..065fa541eb40024e105321c072143eee3da3b1ee:/wxPython/src/controls.i?ds=inline diff --git a/wxPython/src/controls.i b/wxPython/src/controls.i index 5b1558f87b..f508c2c09a 100644 --- a/wxPython/src/controls.i +++ b/wxPython/src/controls.i @@ -10,29 +10,31 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -%module controls +%module(package="wx") _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 } + +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 @@ -55,7 +57,10 @@ %include _dirctrl.i %include _pycontrol.i %include _cshelp.i - +%include _dragimg.i +%include _datectrl.i +%include _hyperlink.i +%include _picker.i //--------------------------------------------------------------------------- //---------------------------------------------------------------------------