Removed wxFont::Set/GetNoAntiAliasing() implementations.

Most of them were dummy and didn't do anything and this API was never meant to
be used anyhow.

Keep just the declarations in wxFontBase but mark them as deprecated.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-10-09 13:04:59 +00:00
parent 7bfc10389a
commit 8462a84b2c
18 changed files with 13 additions and 164 deletions

View File

@@ -450,12 +450,6 @@ void wxGCDCImpl::SetFont( const wxFont &font )
if ( f.IsOk() )
f.SetPointSize( /*LogicalToDeviceYRel*/(font.GetPointSize()));
m_graphicContext->SetFont( f, m_textForegroundColour );
#if defined(__WXGTK__) || defined(__WXOSX__)
if ( m_font.IsOk() && m_font.GetNoAntiAliasing() )
{
m_graphicContext->SetAntialiasMode(wxANTIALIAS_NONE);
}
#endif
}
}