Fixed warning when compiling richttextctrl.cpp in VS2010 (fixes #13606)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3621,7 +3621,7 @@ bool wxRichTextCtrl::DoesSelectionHaveTextEffectFlag(int flag)
|
||||
{
|
||||
if (IsDefaultStyleShowing())
|
||||
wxRichTextApplyStyle(attr, GetDefaultStyleEx());
|
||||
return (attr.GetTextEffectFlags() & flag);
|
||||
return (attr.GetTextEffectFlags() & flag) != 0;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user