#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;
}
if (M_BRUSHDATA->m_hBrush==NULL) wxError("Cannot create brush","Internal error") ;
#endif
M_BRUSHDATA->m_vBundle.lColor = vPmColour;
- M_BRUSHDATA->m_vBundle.lBackColor = CLR_DEFAULT;
+ M_BRUSHDATA->m_vBundle.lBackColor = RGB_WHITE;
M_BRUSHDATA->m_vBundle.usMixMode = FM_OVERPAINT;
M_BRUSHDATA->m_vBundle.usBackMixMode = BM_OVERPAINT;
{
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;
}