X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..dc5960727c6161aaf98e512e396ae1a021326de8:/include/wx/font.h diff --git a/include/wx/font.h b/include/wx/font.h index 83a00873cc..14935c6833 100644 --- a/include/wx/font.h +++ b/include/wx/font.h @@ -5,7 +5,7 @@ // Modified by: // Created: 20.09.99 // RCS-ID: $Id$ -// Copyright: (c) wxWindows team +// Copyright: (c) wxWidgets team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -156,7 +156,7 @@ public: virtual bool GetUnderlined() const = 0; virtual wxString GetFaceName() const = 0; virtual wxFontEncoding GetEncoding() const = 0; - virtual wxNativeFontInfo *GetNativeFontInfo() const; + virtual const wxNativeFontInfo *GetNativeFontInfo() const = 0; virtual bool IsFixedWidth() const; @@ -185,7 +185,7 @@ public: // Unofficial API, don't use virtual void SetNoAntiAliasing( bool WXUNUSED(no) = TRUE ) { } - virtual bool GetNoAntiAliasing() { return FALSE; } + virtual bool GetNoAntiAliasing() const { return FALSE; } // the default encoding is used for creating all fonts with default // encoding parameter