From 191ebf4d459ca672c8d7678293c0ab3b05ba95d2 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 13 Sep 2000 09:35:43 +0000 Subject: [PATCH] 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 --- src/generic/listctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.45.2