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:
@@ -2966,7 +2966,7 @@ long wxListMainWindow::HitTest( int x, int y, int &flags )
|
|||||||
{
|
{
|
||||||
wxListLineData *line = &m_lines[i];
|
wxListLineData *line = &m_lines[i];
|
||||||
long ret = line->IsHit( x, y );
|
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;
|
flags = (int)ret;
|
||||||
return count;
|
return count;
|
||||||
|
Reference in New Issue
Block a user