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:
Julian Smart
2013-03-13 09:05:52 +00:00
parent 404b319a85
commit 43f4e852a1
3 changed files with 10 additions and 10 deletions

View File

@@ -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;