From dabf7342ef439a6b6a83c561af415f8b5fceaad7 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 30 Oct 2011 13:39:11 +0000 Subject: [PATCH] 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 --- src/richtext/richtextctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/richtext/richtextctrl.cpp b/src/richtext/richtextctrl.cpp index 71a264129b..466dc88569 100644 --- a/src/richtext/richtextctrl.cpp +++ b/src/richtext/richtextctrl.cpp @@ -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; -- 2.45.2