From: Julian Smart Date: Wed, 13 Sep 2000 09:35:43 +0000 (+0000) Subject: wxListMainWindow::HitTest no longer tests 'flags' which is garbage X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/191ebf4d459ca672c8d7678293c0ab3b05ba95d2 wxListMainWindow::HitTest no longer tests 'flags' which is garbage at this point. HitTesting now working, hurrah! git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 8540ca21c1..a1bc2cfdb4 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -2966,7 +2966,7 @@ long wxListMainWindow::HitTest( int x, int y, int &flags ) { wxListLineData *line = &m_lines[i]; long ret = line->IsHit( x, y ); - if (ret & flags) + if (ret) // & flags) // No: flags is output-only so may be garbage at this point { flags = (int)ret; return count;