virtual ~wxHeaderCtrl();
+protected:
+ virtual wxSize DoGetBestSize() const;
+
+
private:
// implement base class pure virtuals
virtual void DoSetCount(unsigned int count);
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();
// 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);