wxPen( const wxColour &colour, int width = 1, int style = wxSOLID );
wxPen( const wxBitmap &stipple, int width );
- ~wxPen();
-
- wxPen( const wxPen& pen ) { Ref(pen); }
- wxPen& operator = ( const wxPen& pen ) { Ref(pen); return *this; }
+ virtual ~wxPen();
bool Ok() const { return m_refData != NULL; }
wxDash* GetDash() const;
wxBitmap* GetStipple() const;
-private:
+protected:
// ref counting code
virtual wxObjectRefData *CreateRefData() const;
virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;