/////////////////////////////////////////////////////////////////////////////
-// Name: pen.cpp
+// Name: src/os2/pen.cpp
// Purpose: wxPen
// Author: David Webster
// Modified by:
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
-#include <stdio.h>
-#include "wx/setup.h"
-#include "wx/list.h"
-#include "wx/utils.h"
-#include "wx/app.h"
-#include "wx/pen.h"
-#include "wx/log.h"
+ #include <stdio.h>
+ #include "wx/list.h"
+ #include "wx/utils.h"
+ #include "wx/app.h"
+ #include "wx/pen.h"
+ #include "wx/log.h"
#endif
#include "wx/os2/private.h"
vError = ::WinGetLastError(vHabmain);
sError = wxPMErrorToStr(vError);
wxLogError(_T("Unable to set current color table to RGB mode. Error: %s\n"), sError.c_str());
- return FALSE;
+ return false;
}
if (M_PENDATA->m_nStyle == wxTRANSPARENT)
{
vError = ::WinGetLastError(vHabmain);
sError = wxPMErrorToStr(vError);
wxLogError(_T("Can't set Gpi attributes for a LINEBUNDLE. Error: %s\n"), sError.c_str());
- return FALSE;
+ return false;
}
ULONG flAttrMask = 0L;
}
} // end of wxPen::Unshare
-void wxPen::SetColour(
- const wxColour& rColour
-)
+void wxPen::SetColour( const wxColour& rColour )
{
Unshare();
M_PENDATA->m_vColour = rColour;
RealizeResource();
} // end of wxPen::SetColour
-void wxPen::SetColour(
- unsigned char cRed
-, unsigned char cGreen
-, unsigned char cBlue
-)
+void wxPen::SetColour( unsigned char cRed, unsigned char cGreen, unsigned char cBlue)
{
Unshare();
M_PENDATA->m_vColour.Set(cRed, cGreen, cBlue);
RealizeResource();
} // end of wxPen::SetColour
-void wxPen::SetPS(
- HPS hPS
-)
+void wxPen::SetPS( HPS hPS )
{
Unshare();
if (M_PENDATA->m_hPen)