]> git.saurik.com Git - wxWidgets.git/commitdiff
aa const
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 9 Aug 2004 06:58:30 +0000 (06:58 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 9 Aug 2004 06:58:30 +0000 (06:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/classic/font.cpp

index ef0ecc73b6c76349da857f6d519f1383b57a9c9f..06e7fa1ca3ce55c6eb73c5af219dc15983210fa1 100644 (file)
@@ -95,7 +95,7 @@ public:
 
     virtual ~wxFontRefData();
     void SetNoAntiAliasing( bool no = TRUE ) { m_noAA = no; }
-    bool GetNoAntiAliasing() { return m_noAA; }
+    bool GetNoAntiAliasing() const { return m_noAA; }
     
 protected:
     // common part of all ctors
@@ -410,7 +410,7 @@ wxFontEncoding wxFont::GetEncoding() const
     return M_FONTDATA->m_encoding;
 }
 
-bool wxFont::GetNoAntiAliasing()
+bool wxFont::GetNoAntiAliasing() const
 {
     return M_FONTDATA->m_noAA;
 }