X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dae73d7473aac7cabc3918c96a6d0103f17fdfc7..c932709d31bf359c994dc2050bec1b3b986bbd62:/src/common/taskbarcmn.cpp diff --git a/src/common/taskbarcmn.cpp b/src/common/taskbarcmn.cpp index 14b4f1dd5b..cb6045a894 100644 --- a/src/common/taskbarcmn.cpp +++ b/src/common/taskbarcmn.cpp @@ -25,6 +25,7 @@ WX_CHECK_BUILD_OPTIONS("wxAdvanced") +#include "wx/menu.h" #include "wx/taskbar.h" DEFINE_EVENT_TYPE( wxEVT_TASKBAR_MOVE ) @@ -40,7 +41,7 @@ BEGIN_EVENT_TABLE(wxTaskBarIconBase, wxEvtHandler) EVT_TASKBAR_RIGHT_DOWN(wxTaskBarIconBase::OnRightButtonDown) END_EVENT_TABLE() -void wxTaskBarIconBase::OnRightButtonDown(wxEvent& WXUNUSED(event)) +void wxTaskBarIconBase::OnRightButtonDown(wxTaskBarIconEvent& WXUNUSED(event)) { wxMenu *menu = CreatePopupMenu(); if (menu)