From efb2c52f8c506008a5e374d82f3e13b55702dce3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 8 Feb 2007 14:15:52 +0000 Subject: [PATCH] fixed what looked like a typo in hit code testing in wxRichTextCtrl::OnMoveMouse() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44411 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 006122f0ae..901901e56d 100644 --- a/src/richtext/richtextctrl.cpp +++ b/src/richtext/richtextctrl.cpp @@ -438,7 +438,7 @@ void wxRichTextCtrl::OnMoveMouse(wxMouseEvent& event) // See if we need to change the cursor { - if (hit != wxRICHTEXT_HITTEST_NONE & !(hit & wxRICHTEXT_HITTEST_OUTSIDE)) + if (hit != wxRICHTEXT_HITTEST_NONE && !(hit & wxRICHTEXT_HITTEST_OUTSIDE)) { wxTextAttrEx attr; if (GetStyle(position, attr))