diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index 4e758ba9cd..46795c86e4 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -160,7 +160,7 @@ public: // that the window object is passed instead of window handle) and should // return true if it handled the message or false if it should be passed to // DefWindowProc() - typedef bool (*MSWMessageHandler)(wxWindow *win, + typedef bool (*MSWMessageHandler)(wxWindowMSW *win, WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);