X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/38de94271f5550b4c644a513c828a0210269e1a8..914955aaa034862c3b9b827463cde26455d06c79:/src/gtk/font.cpp diff --git a/src/gtk/font.cpp b/src/gtk/font.cpp index 20ce420439..6201232e19 100644 --- a/src/gtk/font.cpp +++ b/src/gtk/font.cpp @@ -97,7 +97,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); @@ -774,7 +774,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") );