X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d854fa93f8f5a48e383395060063a7931bf0207..a47391f3f9cceb68fb65cdf2bfef7f98a308fd23:/src/os2/brush.cpp diff --git a/src/os2/brush.cpp b/src/os2/brush.cpp index ed7e7e1554..8187fbf42c 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("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("Can't set Gpi attributes for an AREABUNDLE. Error: %s\n", sError.c_str()); } return bOk; }