- inline wxPen& operator = (const wxPen& pen)
- { if (*this == pen) return (*this); Ref(pen); return *this; }
- inline bool operator == (const wxPen& pen) const
- { return m_refData == pen.m_refData; }
- inline bool operator != (const wxPen& pen) const
- { return m_refData != pen.m_refData; }
-
- virtual bool Ok() const { return (m_refData != NULL) ; }
+ // FIXME: operator==() is wrong
+ bool operator==(const wxPen& pen) const { return m_refData == pen.m_refData; }
+ bool operator!=(const wxPen& pen) const { return !(*this == pen); }