X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/662bd31e1277e28ad9a4c8838f9aa5dd75bde745..32485259c1342115488d219776dfebeb3d4d81b1:/wxPython/src/_taskbar.i?ds=inline diff --git a/wxPython/src/_taskbar.i b/wxPython/src/_taskbar.i index 88fd35bae9..1b7540f52c 100644 --- a/wxPython/src/_taskbar.i +++ b/wxPython/src/_taskbar.i @@ -69,7 +69,7 @@ public: wxMenu* CreatePopupMenu() { wxMenu *rval = NULL; bool found; - bool blocked = wxPyBeginBlockThreads(); + wxPyBlock_t blocked = wxPyBeginBlockThreads(); if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) { PyObject* ro; wxMenu* ptr; @@ -97,7 +97,8 @@ IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon); MustHaveApp(wxPyTaskBarIcon); -%name(TaskBarIcon)class wxPyTaskBarIcon : public wxEvtHandler +%rename(TaskBarIcon) wxPyTaskBarIcon; +class wxPyTaskBarIcon : public wxEvtHandler { public: %pythonAppend wxPyTaskBarIcon "self._setCallbackInfo(self, TaskBarIcon, 0)"