X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6eb280e9561bc6c392a22cd456b0a0509fa280f4..09d350c0bc105653e7cd59a8290684a3c4e70d7e:/src/os2/pen.cpp 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; }