+
+ void OnScroll(wxScrollWinEvent& event)
+ {
+ event.Skip();
+ if (event.GetOrientation() == wxHORIZONTAL) return;
+ if (!m_EditCtrl) return;
+
+ wxTreeItemId id = GetSelection();
+ wxRect bounding;
+ GetBoundingRect(id, bounding);
+
+ m_EditCtrl->Move(-1, bounding.y);
+ }