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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user