/////////////////////////////////////////////////////////////////////////////
-// Name: pen.h
+// Name: wx/os2/pen.h
// Purpose: wxPen class
// Author: David Webster
// Modified by:
public:
wxPen();
wxPen( const wxColour& rColour
- ,int nWidth
- ,int nStyle
+ ,int nWidth = 1
+ ,int nStyle = wxSOLID
);
wxPen( const wxBitmap& rStipple
,int nWidth
inline wxPen(const wxPen& rPen) { Ref(rPen); }
~wxPen();
- inline wxPen& operator = (const wxPen& rPen) { if (*this == rPen) return (*this); Ref(rPen); return *this; }
- inline bool operator == (const wxPen& rPen) { return m_refData == rPen.m_refData; }
- inline bool operator != (const wxPen& rPen) { return m_refData != rPen.m_refData; }
+ inline wxPen& operator = (const wxPen& rPen)
+ { if (*this == rPen) return (*this); Ref(rPen); return *this; }
+ inline bool operator == (const wxPen& rPen) const
+ { return m_refData == rPen.m_refData; }
+ inline bool operator != (const wxPen& rPen) const
+ { return m_refData != rPen.m_refData; }
virtual bool Ok(void) const { return (m_refData != NULL); }
AREABUNDLE m_vAreaBundle;
}; // end of CLASS wxPen
+extern int wx2os2PenStyle(int nWxStyle);
+
#endif
// _WX_PEN_H_