Moved AA information to the right place.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-10-28 01:51:46 +00:00
parent d089223aa3
commit 51148dfb8e
5 changed files with 60 additions and 14 deletions

View File

@@ -81,9 +81,6 @@ struct WXDLLEXPORT wxNativeFontInfo;
class WXDLLEXPORT wxFontBase : public wxGDIObject
{
public:
// default constructor
wxFontBase() { m_noAA = FALSE; }
// creator function
virtual ~wxFontBase();
@@ -145,8 +142,8 @@ public:
wxString GetWeightString() const;
// Unofficial API, don't use
void SetNoAntiAliasing( bool no = TRUE ) { m_noAA = no; }
bool GetNoAntiAliasing() { return m_noAA; }
virtual void SetNoAntiAliasing( bool no = TRUE ) { }
virtual bool GetNoAntiAliasing() { return FALSE; }
// the default encoding is used for creating all fonts with default
// encoding parameter
@@ -158,9 +155,6 @@ protected:
wxFontRefData *GetFontData() const
{ return (wxFontRefData *)m_refData; }
// Don't use the native anti-aliasing
bool m_noAA;
private:
// the currently default encoding: by default, it's the default system
// encoding, but may be changed by the application using