X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d27f80249c49586cf7a20e6360890a4e7a0a1e4..c4709ea55c2299c61ecda2ac350370f656de16ca:/src/os2/dcclient.cpp?ds=sidebyside diff --git a/src/os2/dcclient.cpp b/src/os2/dcclient.cpp index d02dd2bdcf..81007873df 100644 --- a/src/os2/dcclient.cpp +++ b/src/os2/dcclient.cpp @@ -119,7 +119,7 @@ wxWindowDC::wxWindowDC( { vError = ::WinGetLastError(vHabmain); sError = wxPMErrorToStr(vError); - wxLogError("Unable to create presentation space. Error: %s\n", sError.c_str()); + wxLogError(_T("Unable to create presentation space. Error: %s\n"), sError.c_str()); } ::GpiAssociate(m_hPS, NULLHANDLE); ::GpiAssociate(m_hPS, m_hDC); @@ -137,7 +137,7 @@ wxWindowDC::wxWindowDC( { vError = ::WinGetLastError(vHabmain); sError = wxPMErrorToStr(vError); - wxLogError("Unable to set current color table. Error: %s\n", sError.c_str()); + wxLogError(_T("Unable to set current color table. Error: %s\n"), sError.c_str()); } ::GpiCreateLogColorTable( m_hPS ,0L @@ -172,15 +172,15 @@ void wxWindowDC::InitDC() vColor.Set( wxT("WHITE") ); m_brush.SetColour(vColor); InitializePalette(); - wxFont* pFont = new wxFont( 12 - ,wxNORMAL + wxFont* pFont = new wxFont( 10 + ,wxMODERN ,wxNORMAL ,wxBOLD ); SetFont(*pFont); delete pFont; // - // OS/2 default vertical character allignment needs to match the other OS's + // OS/2 default vertical character alignment needs to match the other OS's // ::GpiSetTextAlignment((HPS)GetHPS(), TA_NORMAL_HORIZ, TA_BOTTOM); @@ -237,7 +237,7 @@ wxClientDC::wxClientDC( { vError = ::WinGetLastError(vHabmain); sError = wxPMErrorToStr(vError); - wxLogError("Unable to set current color table. Error: %s\n", sError.c_str()); + wxLogError(_T("Unable to set current color table. Error: %s\n"), sError.c_str()); } ::GpiCreateLogColorTable( m_hPS ,0L