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:
David Webster
2000-11-19 00:25:42 +00:00
parent a1db952fde
commit d08f23a71c
2 changed files with 40 additions and 182 deletions

View File

@@ -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