Dialog processing updates and some timer fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2002-07-15 21:50:34 +00:00
parent 6bad4c327c
commit 0256cfeb6d
4 changed files with 29 additions and 9 deletions

View File

@@ -422,6 +422,18 @@ bool wxApp::RegisterWindowClasses(
wxLogLastError(sError);
return FALSE;
}
if (!::WinRegisterClass( vHab
,wxCanvasClassNameNR
,wxWndProc
,CS_HITTEST | CS_SYNCPAINT
,sizeof(ULONG)
))
{
vError = ::WinGetLastError(vHab);
sError = wxPMErrorToStr(vError);
wxLogLastError(sError);
return FALSE;
}
return TRUE;
} // end of wxApp::RegisterWindowClasses