remove code in SetFont which modifies font for no apparent purpose
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -441,10 +441,7 @@ void wxGCDCImpl::SetFont( const wxFont &font )
|
|||||||
m_font = font;
|
m_font = font;
|
||||||
if ( m_graphicContext )
|
if ( m_graphicContext )
|
||||||
{
|
{
|
||||||
wxFont f = font;
|
m_graphicContext->SetFont(font, m_textForegroundColour);
|
||||||
if ( f.IsOk() )
|
|
||||||
f.SetPointSize( /*LogicalToDeviceYRel*/(font.GetPointSize()));
|
|
||||||
m_graphicContext->SetFont( f, m_textForegroundColour );
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user