wxControl::MSWNotify() handler calls wxWindow version if it doesn't

process the message (some messages were "missing" before due to this bug)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1999-01-31 23:52:39 +00:00
parent fb99aca7f3
commit fff86b2918

View File

@ -189,7 +189,7 @@ long wxControl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
} }
bool wxControl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam, bool wxControl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam,
WXLPARAM* WXUNUSED(result)) WXLPARAM* result)
{ {
#if defined(__WIN95__) #if defined(__WIN95__)
wxCommandEvent event(wxEVT_NULL, m_windowId); wxCommandEvent event(wxEVT_NULL, m_windowId);
@ -240,7 +240,7 @@ bool wxControl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam,
} }
*/ */
default: default:
return FALSE; return wxWindow::MSWNotify(wParam, lParam, result);
} }
event.SetEventType(eventType); event.SetEventType(eventType);