+ // wrapper around Header_InsertItem(): insert the item using information
+ // from the given column at the given index
+ void DoInsertItem(const wxHeaderColumn& col, unsigned int idx);
+
+ // get the number of currently visible items: this is also the total number
+ // of items contained in the native control
+ int GetShownColumnsCount() const;
+
+ // due to the discrepancy for the hidden columns which we know about but
+ // the native control does not, there can be a difference between the
+ // column indices we use and the ones used by the native control; these
+ // functions translate between them
+ //
+ // notice that MSWToNativeIdx() shouldn't be called for hidden columns and
+ // MSWFromNativeIdx() always returns an index of a visible column
+ int MSWToNativeIdx(int idx);
+ int MSWFromNativeIdx(int item);
+
+ // this is the same as above but for order, not index
+ int MSWToNativeOrder(int order);
+ int MSWFromNativeOrder(int order);