X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2641bc2bffc818b44979292a238144bea620cda..e5b507581053d7a11b5c1419dc3ac5c31904236b:/include/wx/mac/carbon/taskbarosx.h diff --git a/include/wx/mac/carbon/taskbarosx.h b/include/wx/mac/carbon/taskbarosx.h index 4576eabc5e..362d87260b 100644 --- a/include/wx/mac/carbon/taskbarosx.h +++ b/include/wx/mac/carbon/taskbarosx.h @@ -45,16 +45,19 @@ public: //pops up the menu bool PopupMenu(wxMenu *menu); - //internal functions - don't call - void SetInternalEvent(void* pEvent); + //internal functions - don't call wxMenu* GetCurrentMenu(); + wxMenu* DoCreatePopupMenu(); protected: wxTaskBarIconType m_nType; - void* m_pEvent; + void* m_pEventHandlerRef; wxMenu* m_pMenu; + WXHMENU m_theLastMenu; bool m_iconAdded; - + + void OnRightDown(wxTaskBarIconEvent& evt); + DECLARE_DYNAMIC_CLASS(wxTaskBarIcon) }; #endif