#include "wx/utils.h"
#include "wx/app.h"
#include "wx/pen.h"
+#include "wx/log.h"
#endif
#include "wx/os2/private.h"
wxThePenList->AddPen(this);
} // end of wxPen::wxPen
+int wx2os2PenStyle(
+ int nWxStyle
+);
+
bool wxPen::RealizeResource()
{
BOOL bOk;
{
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)
{
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;
}
{
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;
}