- 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&);
-
-DECLARE_EVENT_TABLE()
+#if defined(__WXOSX__) && wxOSX_USE_COCOA
+ MyTaskBarIcon(wxTaskBarIconType iconType = DEFAULT_TYPE)
+ : wxTaskBarIcon(iconType)
+#else
+ MyTaskBarIcon()
+#endif
+ {}
+
+ void OnLeftButtonDClick(wxTaskBarIconEvent&);
+ void OnMenuRestore(wxCommandEvent&);
+ void OnMenuExit(wxCommandEvent&);
+ void OnMenuSetNewIcon(wxCommandEvent&);
+ void OnMenuCheckmark(wxCommandEvent&);
+ void OnMenuUICheckmark(wxUpdateUIEvent&);
+ void OnMenuSub(wxCommandEvent&);
+ virtual wxMenu *CreatePopupMenu();
+
+ DECLARE_EVENT_TABLE()