]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_timer.i
Make expat's configure detect if -ext o is needed (MW) so tests work correctly.
[wxWidgets.git] / wxPython / src / _timer.i
index c4bd285dbe5991678e53a7890af55dd252d823fb..37461f1e50eed0147b072043c6b528a8d082d943 100644 (file)
@@ -45,7 +45,7 @@ wxPyTimer::wxPyTimer(wxEvtHandler *owner, int id)
 
 void wxPyTimer::Notify() {
     bool found;
-    bool blocked = wxPyBeginBlockThreads();
+    wxPyBlock_t blocked = wxPyBeginBlockThreads();
     if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
         wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
     wxPyEndBlockThreads(blocked);