X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a371f70393c2af47d08c317ed496f751213c8fcb..a83ea9c15a7ac7bbdc6686164cfcbbc21ae5031a:/src/x11/font.cpp?ds=sidebyside diff --git a/src/x11/font.cpp b/src/x11/font.cpp index 4eaee81f00..be44d65a0d 100644 --- a/src/x11/font.cpp +++ b/src/x11/font.cpp @@ -123,7 +123,7 @@ public: void SetEncoding(wxFontEncoding encoding); void SetNoAntiAliasing( bool no = TRUE ) { m_noAA = no; } - bool GetNoAntiAliasing() { return m_noAA; } + bool GetNoAntiAliasing() const { return m_noAA; } // and this one also modifies all the other font data fields void SetNativeFontInfo(const wxNativeFontInfo& info); @@ -745,7 +745,7 @@ wxFontEncoding wxFont::GetEncoding() const return M_FONTDATA->m_encoding; } -bool wxFont::GetNoAntiAliasing() +bool wxFont::GetNoAntiAliasing() const { wxCHECK_MSG( Ok(), wxFONTENCODING_DEFAULT, wxT("invalid font") );