X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/59704b49c212e24f0292b6d1470fc1cd9d4afd3e..ca77701441e39245dcbfce903049e76f166979e5:/include/wx/generic/headerctrlg.h diff --git a/include/wx/generic/headerctrlg.h b/include/wx/generic/headerctrlg.h index 28a73c24b0..db2fa2ec72 100644 --- a/include/wx/generic/headerctrlg.h +++ b/include/wx/generic/headerctrlg.h @@ -48,6 +48,10 @@ public: virtual ~wxHeaderCtrl(); +protected: + virtual wxSize DoGetBestSize() const; + + private: // implement base class pure virtuals virtual void DoSetCount(unsigned int count); @@ -59,9 +63,6 @@ private: 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; - // common part of all ctors void Init(); @@ -137,9 +138,6 @@ private: // given column plus its minimal width and return the effective width int ConstrainByMinWidth(unsigned int col, int& xPhysical); - // update the current position of the resizing marker - void UpdateResizingMarker(int xPhysical); - // update the information displayed while a column is being moved around void UpdateReorderingMarker(int xPhysical); @@ -177,7 +175,7 @@ private: DECLARE_EVENT_TABLE() - DECLARE_NO_COPY_CLASS(wxHeaderCtrl) + wxDECLARE_NO_COPY_CLASS(wxHeaderCtrl); }; #endif // _WX_GENERIC_HEADERCTRLG_H_