inline wxIcon& operator = (const wxIcon& rIcon)
{ if (*this != rIcon) Ref(rIcon); return *this; }
- inline bool operator == (const wxIcon& rIcon)
+ inline bool operator == (const wxIcon& rIcon) const
{ return m_refData == rIcon.m_refData; }
- inline bool operator != (const wxIcon& rIcon)
+ inline bool operator != (const wxIcon& rIcon) const
{ return m_refData != rIcon.m_refData; }
wxIconRefData *GetIconData() const { return (wxIconRefData *)m_refData; }