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
This commit is contained in:
parent
99646f7ee4
commit
191ebf4d45
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user