X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39ca6d790b4629bdacd5ea15e0169aa17fb1d53f..29f538cea2cfcbb272ca724f8dbf778207530033:/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();