From: Vadim Zeitlin <vadim@wxwidgets.org> Date: Mon, 15 Dec 2008 10:08:50 +0000 (+0000) Subject: return correct (false) value in onSeparator from FindColumnAtPoint() when the positio... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/22f4180e595ed728377a43c4f23110ff0a1ea531?ds=sidebyside 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 --- diff --git a/src/generic/headerctrlg.cpp b/src/generic/headerctrlg.cpp index 4bac640faa..8f2c919f08 100644 --- a/src/generic/headerctrlg.cpp +++ b/src/generic/headerctrlg.cpp @@ -204,6 +204,8 @@ unsigned int wxHeaderCtrl::FindColumnAtPoint(int x, bool *onSeparator) const } } + if ( onSeparator ) + *onSeparator = false; return COL_NONE; }