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:
Vadim Zeitlin 2008-12-15 10:08:50 +00:00
parent 6115b1b5d9
commit 22f4180e59

View File

@ -204,6 +204,8 @@ unsigned int wxHeaderCtrl::FindColumnAtPoint(int x, bool *onSeparator) const
}
}
if ( onSeparator )
*onSeparator = false;
return COL_NONE;
}