]> git.saurik.com Git - wxWidgets.git/commitdiff
2.4 compatibility.
authorWłodzimierz Skiba <abx@abx.art.pl>
Wed, 11 Aug 2004 19:52:13 +0000 (19:52 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Wed, 11 Aug 2004 19:52:13 +0000 (19:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/taskbar/tbtest.cpp
samples/taskbar/tbtest.h

index 7b6a80b8342c10c2809259ff2f5bfb5f784250f8..a8f90c9ed556ba614fdc882f1432c27129ad30d8 100644 (file)
@@ -143,7 +143,11 @@ wxMenu *MyTaskBarIcon::CreatePopupMenu()
     return menu;
 }
 
+#if WXWIN_COMPATIBILITY_2_4
+void MyTaskBarIcon::OnLButtonDClick(wxEvent&)
+#else
 void MyTaskBarIcon::OnLButtonDClick(wxTaskBarIconEvent&)
+#endif
 {
     dialog->Show(true);
 }
index b4862386b6ea87257990f5168d9ccd828ec58f7a..c67914d99861b3c293663aa768c8ddbc9b3001ac 100644 (file)
@@ -14,7 +14,11 @@ class MyTaskBarIcon: public wxTaskBarIcon
 public:
     MyTaskBarIcon() {};
 
+#if WXWIN_COMPATIBILITY_2_4
+    void OnLButtonDClick(wxEvent&);
+#else
     void OnLButtonDClick(wxTaskBarIconEvent&);
+#endif
     void OnMenuRestore(wxCommandEvent&);
     void OnMenuExit(wxCommandEvent&);
     void OnMenuSetNewIcon(wxCommandEvent&);