]> 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 c67914d99861b3c293663aa768c8ddbc9b3001ac..ee230b6ee3ce8f99d1c2b58277618e1773c66982 100644 (file)
@@ -14,11 +14,7 @@ class MyTaskBarIcon: public wxTaskBarIcon
 public:
     MyTaskBarIcon() {};
 
-#if WXWIN_COMPATIBILITY_2_4
-    void OnLButtonDClick(wxEvent&);
-#else
-    void OnLButtonDClick(wxTaskBarIconEvent&);
-#endif
+    void OnLeftButtonDClick(wxTaskBarIconEvent&);
     void OnMenuRestore(wxCommandEvent&);
     void OnMenuExit(wxCommandEvent&);
     void OnMenuSetNewIcon(wxCommandEvent&);
@@ -53,5 +49,3 @@ protected:
 
 DECLARE_EVENT_TABLE()
 };
-
-