]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_filesys.i
Use the PyGILState_* APIs on Python >= 2.3
[wxWidgets.git] / wxPython / src / _filesys.i
index bdcc819ed4e60f6d96ae166631ff061f6c6b21c8..d02c4d874809d8e1188d6eebfa8ce0814fb0a96d 100644 (file)
@@ -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);