X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d854fa93f8f5a48e383395060063a7931bf0207..3bf93e1e9ac6b61e5220967d2ada2d4faec4dd9c:/src/os2/brush.cpp?ds=inline diff --git a/src/os2/brush.cpp b/src/os2/brush.cpp index ed7e7e1554..308d5bb1d4 100644 --- a/src/os2/brush.cpp +++ b/src/os2/brush.cpp @@ -19,6 +19,7 @@ #include "wx/utils.h" #include "wx/app.h" #include "wx/brush.h" +#include "wx/log.h" #endif #include "wx/os2/private.h" @@ -137,7 +138,7 @@ bool wxBrush::RealizeResource() { vError = ::WinGetLastError(vHabmain); sError = wxPMErrorToStr(vError); - wxLogError("Unable to set current color table to RGB mode. Error: %s\n", sError); + wxLogError(_T("Unable to set current color table to RGB mode. Error: %s\n"), sError.c_str()); return FALSE; } @@ -219,7 +220,7 @@ bool wxBrush::RealizeResource() { vError = ::WinGetLastError(vHabmain); sError = wxPMErrorToStr(vError); - wxLogError("Can't set Gpi attributes for an AREABUNDLE. Error: %s\n", sError); + wxLogError(_T("Can't set Gpi attributes for an AREABUNDLE. Error: %s\n"), sError.c_str()); } return bOk; }