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:
@@ -956,7 +956,7 @@ void wxListHeaderWindow::OnMouse( wxMouseEvent &event )
|
|||||||
{
|
{
|
||||||
xpos += m_owner->GetColumnWidth( j );
|
xpos += m_owner->GetColumnWidth( j );
|
||||||
m_column = 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;
|
hit_border = TRUE;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user