Improved error handling.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2006-06-05 18:08:40 +00:00
parent daf22b890b
commit da51aebeec
3 changed files with 104 additions and 4 deletions

View File

@@ -139,7 +139,7 @@ wxWindowDC::wxWindowDC(
{
vError = ::WinGetLastError(vHabmain);
sError = wxPMErrorToStr(vError);
wxLogError(_T("Unable to set current color table. Error: %s\n"), sError.c_str());
wxLogError(_T("Unable to set current color table (3). Error: %s\n"), sError.c_str());
}
::GpiCreateLogColorTable( m_hPS
,0L
@@ -239,7 +239,7 @@ wxClientDC::wxClientDC(
{
vError = ::WinGetLastError(vHabmain);
sError = wxPMErrorToStr(vError);
wxLogError(_T("Unable to set current color table. Error: %s\n"), sError.c_str());
wxLogError(_T("Unable to set current color table (4). Error: %s\n"), sError.c_str());
}
::GpiCreateLogColorTable( m_hPS
,0L