mirror of https://github.com/PCSX2/pcsx2.git
Merge pull request #1305 from adamantike/trivial-wxfont-fix
Trivial fix on wxFont style/weight usage
This commit is contained in:
commit
9d2cd8490c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue