Fixed some warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -843,9 +843,9 @@ wxString wxRichTextStyleListBox::CreateHTML(wxRichTextStyleDefinition* def) cons
|
||||
bool hasItalic = false;
|
||||
bool hasUnderline = false;
|
||||
|
||||
if (attr.GetFontWeight() == wxBOLD)
|
||||
if (attr.GetFontWeight() == wxFONTWEIGHT_BOLD)
|
||||
hasBold = true;
|
||||
if (attr.GetFontStyle() == wxITALIC)
|
||||
if (attr.GetFontStyle() == wxFONTSTYLE_ITALIC)
|
||||
hasItalic = true;
|
||||
if (attr.GetFontUnderlined())
|
||||
hasUnderline = true;
|
||||
|
||||
Reference in New Issue
Block a user