X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9ec64fa75839c663cdaa6b963d1321491c41b7ae..300b1288331acc7ac3482595bb226a52f8aec238:/src/generic/treectrl.cpp diff --git a/src/generic/treectrl.cpp b/src/generic/treectrl.cpp index b9fcda1414..36f8be5bfa 100644 --- a/src/generic/treectrl.cpp +++ b/src/generic/treectrl.cpp @@ -436,7 +436,7 @@ wxGenericTreeItem *wxGenericTreeItem::HitTest( const wxPoint& point, } if (point.x < m_x) - flags |= wxTREE_HITTEST_ONITEMIDENT; + flags |= wxTREE_HITTEST_ONITEMINDENT; if (point.x > m_x+m_width) flags |= wxTREE_HITTEST_ONITEMRIGHT;