mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-12 17:20:07 +01:00
Merge pull request #1305 from adamantike/trivial-wxfont-fix
Trivial fix on wxFont style/weight usage
This commit is contained in:
commit
9d2cd8490c
1 file changed
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user