#include "wx/utils.h"
#include "wx/app.h"
#include "wx/brush.h"
+#include "wx/log.h"
#endif
#include "wx/os2/private.h"
{
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;
}
{
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;
}