]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_timer.i
Use the wx.ART_NORMAL_FILE icon
[wxWidgets.git] / wxPython / src / _timer.i
index c4bd285dbe5991678e53a7890af55dd252d823fb..69ea2a2674df0c07358471fc98f59f661ab9c1db 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);
@@ -116,7 +116,7 @@ public:
     int GetId() const;
 
     %pythoncode {
-        def Destroy():
+        def Destroy(self):
             """NO-OP: Timers must be destroyed by normal refrence counting"""
             pass
     }