-class wxPen: public wxGDIObject
-{
-public:
- 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 );
+ bool operator==(const wxPen& pen) const;
+ bool operator!=(const wxPen& pen) const { return !(*this == pen); }