]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_joystick.i
Changes needed for building with Python 2.5
[wxWidgets.git] / wxPython / src / _joystick.i
index 01acf952e15c687498ce701a463e8a27b41959d4..252208e9e503aac02353767b51ebf22d7a975b34 100644 (file)
@@ -48,7 +48,7 @@ enum
 class wxJoystick : public wxObject {
 public:
     wxJoystick(int joystick = wxJOYSTICK1) {
-        bool blocked = wxPyBeginBlockThreads();
+        wxPyBlock_t blocked = wxPyBeginBlockThreads();
         PyErr_SetString(PyExc_NotImplementedError,
                         "wxJoystick is not available on this platform.");
         wxPyEndBlockThreads(blocked);