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:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user