Updates to Timer class and a couple of wxDC methods.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2000-11-28 22:13:33 +00:00
parent b9cf5e6d2b
commit 05a8bfed08
3 changed files with 22 additions and 6 deletions

View File

@@ -760,6 +760,12 @@ bool wxApp::ProcessMessage(
}
#endif // wxUSE_TOOLTIPS
//
// We must relay Timer events to wxTimer's processing function
//
if (pMsg->msg == WM_TIMER)
wxTimerProc(NULL, 0, pMsg->mp1, 0);
//
// For some composite controls (like a combobox), wndThis might be NULL
// because the subcontrol is not a wxWindow, but only the control itself