X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6eb280e9561bc6c392a22cd456b0a0509fa280f4..4092a27504cfac416b0e1888a04ad0715711836d:/src/os2/pen.cpp?ds=sidebyside diff --git a/src/os2/pen.cpp b/src/os2/pen.cpp index dbecd515ea..77badbd512 100644 --- a/src/os2/pen.cpp +++ b/src/os2/pen.cpp @@ -151,7 +151,7 @@ bool wxPen::RealizeResource() { vError = ::WinGetLastError(vHabmain); sError = wxPMErrorToStr(vError); - wxLogError("Unable to set current color table to RGB mode. Error: %s\n", sError); + wxLogError("Unable to set current color table to RGB mode. Error: %s\n", sError.c_str()); return FALSE; } if (M_PENDATA->m_nStyle == wxTRANSPARENT) @@ -215,7 +215,7 @@ bool wxPen::RealizeResource() { vError = ::WinGetLastError(vHabmain); sError = wxPMErrorToStr(vError); - wxLogError("Can't set Gpi attributes for a LINEBUNDLE. Error: %s\n", sError); + wxLogError("Can't set Gpi attributes for a LINEBUNDLE. Error: %s\n", sError.c_str()); return FALSE; } @@ -300,7 +300,7 @@ bool wxPen::RealizeResource() { vError = ::WinGetLastError(vHabmain); sError = wxPMErrorToStr(vError); - wxLogError("Can't set Gpi attributes for an AREABUNDLE. Error: %s\n", sError); + wxLogError("Can't set Gpi attributes for an AREABUNDLE. Error: %s\n", sError.c_str()); } return bOk; }