]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/taskbar/tbtest.h
wxSystemSettings::GetMetric returns -1 if the metric is not supported
[wxWidgets.git] / samples / taskbar / tbtest.h
index 4dac05ac6573fc184e1ce602f620e8b311476eb1..ee230b6ee3ce8f99d1c2b58277618e1773c66982 100644 (file)
@@ -14,12 +14,13 @@ class MyTaskBarIcon: public wxTaskBarIcon
 public:
     MyTaskBarIcon() {};
 
-    void OnRButtonDown(wxEvent&);
-    void OnLButtonDClick(wxEvent&);
+    void OnLeftButtonDClick(wxTaskBarIconEvent&);
     void OnMenuRestore(wxCommandEvent&);
     void OnMenuExit(wxCommandEvent&);
     void OnMenuSetNewIcon(wxCommandEvent&);
 
+    virtual wxMenu *CreatePopupMenu();
+
 DECLARE_EVENT_TABLE()
 };
 
@@ -48,5 +49,3 @@ protected:
 
 DECLARE_EVENT_TABLE()
 };
-
-