X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6d9c20fdb220e4cb9c1ee2a52709b08bb414ba..caafd0821d78e35ecec45ebeb7001b3508288cf7:/src/msw/taskbar.cpp diff --git a/src/msw/taskbar.cpp b/src/msw/taskbar.cpp index f6512bba8b..57ce4633f8 100644 --- a/src/msw/taskbar.cpp +++ b/src/msw/taskbar.cpp @@ -91,7 +91,7 @@ public: { if (msg == gs_msgRestartTaskbar || msg == gs_msgTaskbar) { - return m_icon->WindowProc(GetHWND(), msg, wParam, lParam); + return m_icon->WindowProc(msg, wParam, lParam); } else { @@ -268,9 +268,8 @@ void wxTaskBarIcon::RegisterWindowMessages() // wxTaskBarIcon window proc // ---------------------------------------------------------------------------- -long wxTaskBarIcon::WindowProc(WXHWND hWnd, - unsigned int msg, - unsigned int wParam, +long wxTaskBarIcon::WindowProc(unsigned int msg, + unsigned int WXUNUSED(wParam), long lParam) { wxEventType eventType = 0;