X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..a7c12d28e63a7458293ea54f523c01d848236a3e:/src/mac/classic/font.cpp?ds=sidebyside diff --git a/src/mac/classic/font.cpp b/src/mac/classic/font.cpp index ef0ecc73b6..d38a241ea0 100644 --- a/src/mac/classic/font.cpp +++ b/src/mac/classic/font.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "font.h" -#endif - #include "wx/defs.h" #include "wx/string.h" #include "wx/font.h" @@ -25,9 +21,7 @@ #include "wx/mac/private.h" #include -#if !USE_SHARED_LIBRARIES IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject) -#endif class WXDLLEXPORT wxFontRefData: public wxGDIRefData { @@ -95,7 +89,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 +404,7 @@ wxFontEncoding wxFont::GetEncoding() const return M_FONTDATA->m_encoding; } -bool wxFont::GetNoAntiAliasing() +bool wxFont::GetNoAntiAliasing() const { return M_FONTDATA->m_noAA; }