X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d8fc3398ac61229b4986a6c72eb17af98f41123e..659d0ee81da0eb00220c598055c7ac2188a3d391:/include/wx/msw/headerctrl.h diff --git a/include/wx/msw/headerctrl.h b/include/wx/msw/headerctrl.h index 1f3ee6d4e0..5b268e9ed2 100644 --- a/include/wx/msw/headerctrl.h +++ b/include/wx/msw/headerctrl.h @@ -49,11 +49,10 @@ public: 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); // override wxWindow methods which must be implemented by a new control @@ -61,10 +60,21 @@ private: // 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) + void DoInsertItem(unsigned int idx); + + // 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;