use enumerations instead of integers for wxFont style/weight/family
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -85,8 +85,8 @@ void wxTextAttr::Init()
|
||||
m_rightIndent = 0;
|
||||
|
||||
m_fontSize = 12;
|
||||
m_fontStyle = wxNORMAL;
|
||||
m_fontWeight = wxNORMAL;
|
||||
m_fontStyle = wxFONTSTYLE_NORMAL;
|
||||
m_fontWeight = wxFONTWEIGHT_NORMAL;
|
||||
m_fontUnderlined = false;
|
||||
m_fontEncoding = wxFONTENCODING_DEFAULT;
|
||||
m_fontFamily = wxFONTFAMILY_DEFAULT;
|
||||
|
Reference in New Issue
Block a user