]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/headerctrl.h
deprecate wxStringEq
[wxWidgets.git] / include / wx / msw / headerctrl.h
index 130de040a8688bda6db3e2039c94deedf67ce2b5..9a67856a8597afe06adc6a8c712ddc54e4941e2e 100644 (file)
@@ -46,23 +46,38 @@ public:
 
     virtual ~wxHeaderCtrl();
 
+
 private:
     // implement base class pure virtuals
+    virtual void DoSetCount(unsigned int count);
     virtual unsigned int DoGetCount() const;
-    virtual void DoInsert(const wxHeaderColumn& col, unsigned int idx);
-    virtual void DoDelete(unsigned int idx);
-    virtual void DoShowColumn(unsigned int idx, bool show);
-    virtual void DoShowSortIndicator(unsigned int idx, int sortOrder);
+    virtual void DoUpdate(unsigned int idx);
+
+    virtual void DoScrollHorz(int dx);
+
+    virtual void DoSetColumnsOrder(const wxArrayInt& order);
+    virtual wxArrayInt DoGetColumnsOrder() const;
 
     // override wxWindow methods which must be implemented by a new control
     virtual wxSize DoGetBestSize() const;
 
     // override MSW-specific methods needed for new control
     virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
+    virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);
 
     // common part of all ctors
     void Init();
 
+    // 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);
+
+
     // the image list: initially NULL, created on demand
     wxImageList *m_imageList;