X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2432b92dd7a837db13d3938a56c1959decd03203..0bc9b25e9a0218d5ddc1d12c40dd96216bb275e7:/src/msw/control.cpp diff --git a/src/msw/control.cpp b/src/msw/control.cpp index 6c1cbf8c8d..d027e9d5e5 100644 --- a/src/msw/control.cpp +++ b/src/msw/control.cpp @@ -30,7 +30,7 @@ #include "wx/msw/private.h" -#if defined(__WIN95__) && !defined(__GNUWIN32__) +#if (defined(__WIN95__) && !defined(__GNUWIN32__)) || defined(__TWIN32__) #include #endif @@ -183,13 +183,8 @@ void wxControl::MSWOnMouseMove(int x, int y, WXUINT flags) Default(); } -long wxControl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) -{ - return wxWindow::MSWWindowProc(nMsg, wParam, lParam); -} - bool wxControl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam, - WXLPARAM* WXUNUSED(result)) + WXLPARAM* result) { #if defined(__WIN95__) wxCommandEvent event(wxEVT_NULL, m_windowId); @@ -240,7 +235,7 @@ bool wxControl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam, } */ default: - return FALSE; + return wxWindow::MSWNotify(wParam, lParam, result); } event.SetEventType(eventType);