X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c594325333f3e154ee51edd918ad9cb0582203a7..e5ee4c908b9dbcf07f0441aa74d8635b7343be4d:/wxPython/src/wx.i diff --git a/wxPython/src/wx.i b/wxPython/src/wx.i index b052ac0dcc..05a1360777 100644 --- a/wxPython/src/wx.i +++ b/wxPython/src/wx.i @@ -50,6 +50,7 @@ %import sizers.i %import streams.i %import filesys.i +%import utils.i %native(_wxStart) __wxStart; %native(_wxSetDictionary) __wxSetDictionary; @@ -107,8 +108,6 @@ public: void SetVendorName(const wxString& name); void SetUseBestVisual(bool flag); wxIcon GetStdIcon(int which); - - }; %inline %{ @@ -154,6 +153,7 @@ extern "C" SWIGEXPORT(void) initsizersc(); extern "C" SWIGEXPORT(void) initclip_dndc(); extern "C" SWIGEXPORT(void) initstreamsc(); extern "C" SWIGEXPORT(void) initfilesysc(); +extern "C" SWIGEXPORT(void) initutilsc(); @@ -168,6 +168,8 @@ static wxPyCoreAPI API = { SWIG_addvarlink, SWIG_newvarlink, + wxPyBeginAllowThreads, + wxPyEndAllowThreads, wxPyBeginBlockThreads, wxPyEndBlockThreads, @@ -199,7 +201,8 @@ static wxPyCoreAPI API = { wxPyMake_wxObject, wxPyMake_wxSizer, wxPyPtrTypeMap_Add, - wxArrayString2PyList_helper + wxArrayString2PyList_helper, + wxArrayInt2PyList_helper }; @@ -240,6 +243,7 @@ static wxPyCoreAPI API = { initclip_dndc(); initstreamsc(); initfilesysc(); + initutilsc(); PyDict_SetItemString(d,"wxMAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));