Window proc processing updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2206,14 +2206,16 @@ DEBUG_PRINTF(WM_COMMAND-out)
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
if (!bProcessed)
|
||||
{
|
||||
#ifdef __WXDEBUG__
|
||||
wxLogTrace(wxTraceMessages, wxT("Forwarding %s to DefWindowProc."),
|
||||
wxGetMessageName(uMsg));
|
||||
#endif // __WXDEBUG__
|
||||
mResult = OS2DefWindowProc(uMsg, wParam, lParam);
|
||||
if (IsKindOf(CLASSINFO(wxFrame)))
|
||||
mResult = ::WinDefWindowProc(m_hWnd, uMsg, wParam, lParam);
|
||||
else
|
||||
mResult = OS2DefWindowProc(uMsg, wParam, lParam);
|
||||
}
|
||||
return mResult;
|
||||
} // end of wxWindow::OS2WindowProc
|
||||
|
Reference in New Issue
Block a user