- inline wxIcon& operator = (const wxIcon& icon) { if (*this == icon) return (*this); Ref(icon); return *this; }
- inline bool operator == (const wxIcon& icon) const { return m_refData == icon.m_refData; }
- inline bool operator != (const wxIcon& icon) const { return m_refData != icon.m_refData; }
-
- virtual bool Ok() const { return ((m_refData != NULL) && (M_ICONDATA->m_ok)); }
+ wxIcon& operator = (const wxIcon& icon)
+ { if (this != &icon) Ref(icon); return *this; }
+ bool operator == (const wxIcon& icon) const
+ { return m_refData == icon.m_refData; }
+ bool operator != (const wxIcon& icon) const
+ { return !(*this == icon); }
+
+
+ DECLARE_DYNAMIC_CLASS(wxIcon);