- MyTaskBarIcon() {};
-
- virtual void OnMouseMove(wxEvent&);
- virtual void OnLButtonDown(wxEvent&);
- virtual void OnLButtonUp(wxEvent&);
- virtual void OnRButtonDown(wxEvent&);
- virtual void OnRButtonUp(wxEvent&);
- virtual void OnLButtonDClick(wxEvent&);
- virtual void OnRButtonDClick(wxEvent&);
-
- void OnMenuRestore(wxEvent&);
- void OnMenuExit(wxEvent&);
+#if defined(__WXCOCOA__)
+ MyTaskBarIcon(wxTaskBarIconType iconType = DEFAULT_TYPE)
+ : wxTaskBarIcon(iconType)
+#else
+ MyTaskBarIcon()
+#endif
+ {}
+
+ void OnLeftButtonDClick(wxTaskBarIconEvent&);
+ void OnMenuRestore(wxCommandEvent&);
+ void OnMenuExit(wxCommandEvent&);
+ void OnMenuSetNewIcon(wxCommandEvent&);
+ void OnMenuSetOldIcon(wxCommandEvent&);
+ void OnMenuCheckmark(wxCommandEvent&);
+ void OnMenuUICheckmark(wxUpdateUIEvent&);
+ void OnMenuSub(wxCommandEvent&);
+ virtual wxMenu *CreatePopupMenu();