- MyTaskBarIcon() {};
-
- virtual void OnMouseMove(void);
- virtual void OnLButtonDown(void);
- virtual void OnLButtonUp(void);
- virtual void OnRButtonDown(void);
- virtual void OnRButtonUp(void);
- virtual void OnLButtonDClick(void);
- virtual void OnRButtonDClick(void);
+#if defined(__WXOSX__) && wxOSX_USE_COCOA
+ MyTaskBarIcon(wxTaskBarIconType iconType = wxTBI_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()