X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0ed460c2e7802793d591c84f3cfdbff159c5549..953704c1c76cfb9cfb7b91f0e81f98c30d27eb56:/include/wx/motif/font.h diff --git a/include/wx/motif/font.h b/include/wx/motif/font.h index 1aa0d4ee0c..f5b5a2cb6f 100644 --- a/include/wx/motif/font.h +++ b/include/wx/motif/font.h @@ -91,8 +91,8 @@ public: void SetUnderlined(bool underlined); inline wxFont& operator = (const wxFont& font) { if (*this == font) return (*this); Ref(font); return *this; } - inline bool operator == (const wxFont& font) { return m_refData == font.m_refData; } - inline bool operator != (const wxFont& font) { return m_refData != font.m_refData; } + inline bool operator == (const wxFont& font) const { return m_refData == font.m_refData; } + inline bool operator != (const wxFont& font) const { return m_refData != font.m_refData; } // Implementation