X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/35d60de2215cf90ee64055a6e2b2a2babcedb265..e17978953a7e6e5cc01823c07d717b7c1ce7f1ae:/wxPython/src/wx.i diff --git a/wxPython/src/wx.i b/wxPython/src/wx.i index 0f7cd3012e..c9d140bc72 100644 --- a/wxPython/src/wx.i +++ b/wxPython/src/wx.i @@ -161,8 +161,9 @@ static wxPyCoreAPI API = { SWIG_addvarlink, SWIG_newvarlink, - wxPySaveThread, - wxPyRestoreThread, + wxPyBeginBlockThreads, + wxPyEndBlockThreads, + wxPyConstructObject, wxPy_ConvertList, @@ -186,8 +187,13 @@ static wxPyCoreAPI API = { wxPyCBH_callCallback, wxPyCBH_callCallbackObj, wxPyCBH_delete, + + wxPyClassExists, + wxPyMake_wxObject, + wxPyPtrTypeMap_Add, }; + %} @@ -226,6 +232,14 @@ static wxPyCoreAPI API = { initstreamsc(); initfilesysc(); + + PyDict_SetItemString(d,"wxMAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION )); + PyDict_SetItemString(d,"wxMINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION )); + PyDict_SetItemString(d,"wxRELEASE_NUMBER", PyInt_FromLong((long)wxRELEASE_NUMBER )); + PyDict_SetItemString(d,"wxVERSION_NUMBER", PyInt_FromLong((long)wxVERSION_NUMBER )); + PyDict_SetItemString(d,"wxVERSION_STRING", PyString_FromString(wxVERSION_STRING)); + + %} //----------------------------------------------------------------------