int w = theCtrl->m_owner->GetHeaderWindow()->GetColumnWidth(i);
if (point.x >= x && point.x < x+w) {
flags ^= wxTREE_HITTEST_ONITEMRIGHT;
int w = theCtrl->m_owner->GetHeaderWindow()->GetColumnWidth(i);
if (point.x >= x && point.x < x+w) {
flags ^= wxTREE_HITTEST_ONITEMRIGHT;