X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c331ded69073da6d9b2cec4a12eb09e63347892..a38b83c353cce75329b2c53c0eaa4ad0f500ccf1:/src/msw/control.cpp?ds=sidebyside diff --git a/src/msw/control.cpp b/src/msw/control.cpp index 76c80cad36..297d81e8fb 100644 --- a/src/msw/control.cpp +++ b/src/msw/control.cpp @@ -185,7 +185,8 @@ long wxControl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) return wxWindow::MSWWindowProc(nMsg, wParam, lParam); } -bool wxControl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam) +bool wxControl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam, + WXLPARAM* WXUNUSED(result)) { #if defined(__WIN95__) wxCommandEvent event(wxEVT_NULL, m_windowId); @@ -235,18 +236,18 @@ bool wxControl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam) break; } */ - default : + default: return FALSE; - break; } + event.SetEventType(eventType); event.SetEventObject(this); - if ( !ProcessEvent(event) ) + if ( !GetEventHandler()->ProcessEvent(event) ) return FALSE; return TRUE; -#else - return FALSE; +#else // !Win95 + return FALSE; #endif }