Fixed Vadims fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2000-02-10 19:31:55 +00:00
parent 279ababf7b
commit 1d81a219db

View File

@ -956,7 +956,7 @@ void wxListHeaderWindow::OnMouse( wxMouseEvent &event )
{
xpos += m_owner->GetColumnWidth( j );
m_column = j;
if ((abs(x-xpos) < 3) && (y < 22))
if ((abs(x-xpos) < 3) && (y < 22) && (m_column < m_owner->GetColumnCount()-1))
{
hit_border = TRUE;
break;