X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b3dc8019a520ce5e166c8ae9098ba020f8b3f94..c0472c7c9e1e9984f7d48eef7857e631c3adbd0d:/src/common/taskbarcmn.cpp diff --git a/src/common/taskbarcmn.cpp b/src/common/taskbarcmn.cpp index ad25c102e4..29f39c23ee 100644 --- a/src/common/taskbarcmn.cpp +++ b/src/common/taskbarcmn.cpp @@ -16,7 +16,7 @@ #pragma hdrstop #endif -#ifdef wxHAS_TASK_BAR_ICON +#if wxUSE_TASKBARICON #ifndef WX_PRECOMP #include "wx/app.h" @@ -38,7 +38,7 @@ DEFINE_EVENT_TYPE( wxEVT_TASKBAR_RIGHT_DCLICK ) BEGIN_EVENT_TABLE(wxTaskBarIconBase, wxEvtHandler) - EVT_TASKBAR_RIGHT_DOWN(wxTaskBarIconBase::OnRightButtonDown) + EVT_TASKBAR_CLICK(wxTaskBarIconBase::OnRightButtonDown) END_EVENT_TABLE() void wxTaskBarIconBase::OnRightButtonDown(wxTaskBarIconEvent& WXUNUSED(event)) @@ -51,4 +51,4 @@ void wxTaskBarIconBase::OnRightButtonDown(wxTaskBarIconEvent& WXUNUSED(event)) } } -#endif // defined(wxHAS_TASK_BAR_ICON) +#endif // wxUSE_TASKBARICON