X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aaf7ab431b85d817af39d1a19b6d392ff5bd9379..5687a67ce1e365d010c6282aa57b4f99f7f5ea29:/include/wx/os2/icon.h diff --git a/include/wx/os2/icon.h b/include/wx/os2/icon.h index 3f138fb02a..ca57b257cc 100644 --- a/include/wx/os2/icon.h +++ b/include/wx/os2/icon.h @@ -81,9 +81,9 @@ public: 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; }