return correct (false) value in onSeparator from FindColumnAtPoint() when the position is beyond the last column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6115b1b5d9
commit
22f4180e59
@ -204,6 +204,8 @@ unsigned int wxHeaderCtrl::FindColumnAtPoint(int x, bool *onSeparator) const
|
||||
}
|
||||
}
|
||||
|
||||
if ( onSeparator )
|
||||
*onSeparator = false;
|
||||
return COL_NONE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user