#pragma hdrstop
#endif
-#ifdef wxHAS_TASK_BAR_ICON
+#if wxUSE_TASKBARICON
#ifndef WX_PRECOMP
#include "wx/app.h"
+ #include "wx/menu.h"
#endif
// DLL options compatibility check:
WX_CHECK_BUILD_OPTIONS("wxAdvanced")
-
-#include "wx/menu.h"
#include "wx/taskbar.h"
DEFINE_EVENT_TYPE( wxEVT_TASKBAR_MOVE )
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))
}
}
-#endif // defined(wxHAS_TASK_BAR_ICON)
+#endif // wxUSE_TASKBARICON