X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82c06b740e8e4ffd77b8f92b08806a5f51de22f4..1d451c5bd117cd7e7dcf3f1516049141093e46f0:/samples/taskbar/tbtest.h?ds=sidebyside diff --git a/samples/taskbar/tbtest.h b/samples/taskbar/tbtest.h index c67914d998..ee230b6ee3 100644 --- a/samples/taskbar/tbtest.h +++ b/samples/taskbar/tbtest.h @@ -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() }; - -