- // wrapper around Header_{Set,Insert}Item(): either appends the item to the
- // end or modifies the existing item by copying information from
- // GetColumn(idx) to it
- enum Operation { Set, Insert };
- void DoSetOrInsertItem(Operation oper, unsigned int idx);
+ // wrapper around Header_InsertItem(): insert the item by using information
+ // from GetColumn(idx) and at the given display position if order != -1
+ void DoInsertItem(unsigned int idx, int order);
+
+ // get the event type corresponding to a click or double click event
+ // (depending on dblclk value) with the specified (using MSW convention)
+ // mouse button
+ wxEventType GetClickEventType(bool dblclk, int button);