X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..f885b81573978dcd087ba036f8e93e06280ee419:/src/mac/classic/font.cpp diff --git a/src/mac/classic/font.cpp b/src/mac/classic/font.cpp index 3ea4bcb82e..d38a241ea0 100644 --- a/src/mac/classic/font.cpp +++ b/src/mac/classic/font.cpp @@ -6,13 +6,9 @@ // Created: 1998-01-01 // RCS-ID: $Id$ // Copyright: (c) Stefan Csomor -// Licence: wxWidgets licence +// 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; }