Trivial fix on wxFont style/weight usage

This commit is contained in:
adamantike 2016-04-24 13:25:56 -03:00
parent da1b032793
commit a0eca54f96

View File

@ -53,8 +53,8 @@ pxWindowTextWriter& pxWindowTextWriter::SetStyle( wxFontStyle style )
pxWindowTextWriter& pxWindowTextWriter::Normal()
{
wxFont curfont( m_dc.GetFont() );
curfont.SetStyle( wxFONTWEIGHT_NORMAL );
curfont.SetWeight( wxFONTSTYLE_NORMAL );
curfont.SetStyle( wxFONTSTYLE_NORMAL );
curfont.SetWeight( wxFONTWEIGHT_NORMAL );
m_dc.SetFont( curfont );
return *this;