X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01cb1c26171efc494b94d77e4351362bb0eb2e7d..cba5a276e4821a0ae7d1e7a435d6aab38baa0a9f:/include/wx/font.h?ds=sidebyside diff --git a/include/wx/font.h b/include/wx/font.h index e519bad84d..80928bd5dc 100644 --- a/include/wx/font.h +++ b/include/wx/font.h @@ -182,6 +182,10 @@ public: wxString GetStyleString() const; wxString GetWeightString() const; + // Unofficial API, don't use + virtual void SetNoAntiAliasing( bool no = TRUE ) { } + virtual bool GetNoAntiAliasing() { return FALSE; } + // the default encoding is used for creating all fonts with default // encoding parameter static wxFontEncoding GetDefaultEncoding() { return ms_encodingDefault; } @@ -191,7 +195,7 @@ protected: // get the internal data wxFontRefData *GetFontData() const { return (wxFontRefData *)m_refData; } - + private: // the currently default encoding: by default, it's the default system // encoding, but may be changed by the application using @@ -215,8 +219,6 @@ private: #include "wx/mac/font.h" #elif defined(__WXPM__) #include "wx/os2/font.h" -#elif defined(__WXSTUBS__) - #include "wx/stubs/font.h" #endif // ----------------------------------------------------------------------------