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
This commit is contained in:
Vadim Zeitlin 2007-02-08 14:15:52 +00:00
parent 35c7138631
commit efb2c52f8c

View File

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