From a0eca54f966eb8363dbf9d346f270c27e44e77af Mon Sep 17 00:00:00 2001 From: adamantike Date: Sun, 24 Apr 2016 13:25:56 -0300 Subject: [PATCH] Trivial fix on wxFont style/weight usage --- common/src/Utilities/pxWindowTextWriter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/Utilities/pxWindowTextWriter.cpp b/common/src/Utilities/pxWindowTextWriter.cpp index c583e374d9..d87c9f4cf3 100644 --- a/common/src/Utilities/pxWindowTextWriter.cpp +++ b/common/src/Utilities/pxWindowTextWriter.cpp @@ -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;