X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2dc104421c340091342156d6b01f61f1ccff438..42f8298f6f42d5d63bb3caf65682b7d9d9f8b702:/wxPython/src/controls.i?ds=inline diff --git a/wxPython/src/controls.i b/wxPython/src/controls.i index 502b4346fc..28867cb163 100644 --- a/wxPython/src/controls.i +++ b/wxPython/src/controls.i @@ -10,7 +10,7 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -%module controls +%module(package="wx") _controls //--------------------------------------------------------------------------- @@ -22,14 +22,18 @@ //--------------------------------------------------------------------------- %import core.i -%pythoncode { wx = core } +%pythoncode { wx = _core } -%include _controls_rename.i +%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 @@ -56,6 +60,8 @@ MAKE_CONST_WXSTRING_NOSWIG(ControlNameStr); %include _pycontrol.i %include _cshelp.i %include _dragimg.i +%include _datectrl.i + //---------------------------------------------------------------------------