X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d02ea46cad50bf1bec81a8d5bcaa495b22f98057..db679b8c836e69c111cdc31e62cf92cebe4f938f:/wxPython/src/_filesys.i 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);