X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39ca6d790b4629bdacd5ea15e0169aa17fb1d53f..9111db680241332df07dd22db32973e20f77fb1a:/include/wx/msw/font.h diff --git a/include/wx/msw/font.h b/include/wx/msw/font.h index 567ad97934..c210aed28c 100644 --- a/include/wx/msw/font.h +++ b/include/wx/msw/font.h @@ -89,9 +89,9 @@ public: void SetFaceName(const wxString& faceName); 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; } + wxFont& operator = (const wxFont& font) { if (*this == font) return (*this); Ref(font); return *this; } + bool operator == (const wxFont& font) const { return m_refData == font.m_refData; } + bool operator != (const wxFont& font) const { return m_refData != font.m_refData; } protected: void Unshare();