// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
//-----------------------------------------------------------------------------
// wxPen
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// wxPen
//-----------------------------------------------------------------------------
- wxPen();
- wxPen( const wxColour &colour, int width, int style );
- wxPen( const wxPen& pen );
+ wxPen( const wxColour &colour, int width = 1, int style = wxSOLID );
- wxPen& operator = ( const wxPen& pen );
- bool operator == ( const wxPen& pen );
- bool operator != ( const wxPen& pen );
+
+ bool Ok() const { return m_refData != NULL; }
+
+ bool operator == ( const wxPen& pen ) const;
+ bool operator != (const wxPen& pen) const { return !(*this == pen); }
void SetCap( int capStyle );
void SetJoin( int joinStyle );
void SetStyle( int style );
void SetWidth( int width );
void SetCap( int capStyle );
void SetJoin( int joinStyle );
void SetStyle( int style );
void SetWidth( int width );