- wxPen();
- wxPen( const wxColour &colour, int width, int style );
- wxPen( const wxPen& pen );
- ~wxPen();
- wxPen& operator = ( const wxPen& pen );
- bool operator == ( const wxPen& pen );
- bool operator != ( const wxPen& pen );
+ wxPen() { }
+
+ wxPen( const wxColour &colour, int width = 1, int style = wxSOLID );
+ virtual ~wxPen();
+
+ bool Ok() const { return IsOk(); }
+ bool IsOk() const { return m_refData != NULL; }
+
+ bool operator == ( const wxPen& pen ) const;
+ bool operator != (const wxPen& pen) const { return !(*this == pen); }