X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d02ea46cad50bf1bec81a8d5bcaa495b22f98057..c437fde9f90fc7dfcac79053d214fc9146d7be21:/wxPython/src/_filesys.i?ds=sidebyside diff --git a/wxPython/src/_filesys.i b/wxPython/src/_filesys.i index bdcc819ed4..d02c4d8748 100644 --- a/wxPython/src/_filesys.i +++ b/wxPython/src/_filesys.i @@ -206,7 +206,7 @@ public: return; } - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); void* ptr = (void*)PyString_AsString(data); size_t size = PyString_Size(data); wxPyEndBlockThreads(blocked);