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:
parent
279ababf7b
commit
1d81a219db
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user