git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71896
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+protected:
+ virtual wxSize DoGetBestSize() const;
+
+
private:
// implement base class pure virtuals
virtual void DoSetCount(unsigned int count);
private:
// implement base class pure virtuals
virtual void DoSetCount(unsigned int count);
virtual void DoSetColumnsOrder(const wxArrayInt& order);
virtual wxArrayInt DoGetColumnsOrder() const;
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();
// common part of all ctors
void Init();
// indices after the number of columns changed
void DoResizeColumnIndices(wxArrayInt& colIndices, unsigned int count);
// indices after the number of columns changed
void DoResizeColumnIndices(wxArrayInt& colIndices, unsigned int count);
+protected:
+ // this window doesn't look nice with the border so don't use it by default
+ virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
+
private:
// methods implementing our public API and defined in platform-specific
// implementations
private:
// methods implementing our public API and defined in platform-specific
// implementations
virtual void DoSetColumnsOrder(const wxArrayInt& order) = 0;
virtual wxArrayInt DoGetColumnsOrder() const = 0;
virtual void DoSetColumnsOrder(const wxArrayInt& order) = 0;
virtual wxArrayInt DoGetColumnsOrder() const = 0;
- // this window doesn't look nice with the border so don't use it by default
- virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
// event handlers
void OnSeparatorDClick(wxHeaderCtrlEvent& event);
// event handlers
void OnSeparatorDClick(wxHeaderCtrlEvent& event);