public:
wxPenRefData();
wxPenRefData(const wxPenRefData& rData);
- ~wxPenRefData();
+ virtual ~wxPenRefData();
protected:
int m_nWidth;
wxPen( const wxBitmap& rStipple
,int nWidth
);
- ~wxPen();
+ virtual ~wxPen();
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); }
+ virtual bool Ok() const { return IsOk(); }
+ virtual bool IsOk(void) const { return (m_refData != NULL); }
//
// Override in order to recreate the pen
//
bool RealizeResource(void);
bool FreeResource(bool bForce = false);
- WXHANDLE GetResourceHandle(void);
+ virtual WXHANDLE GetResourceHandle(void) const;
bool IsFree(void) const;
void Unshare(void);