Make a couple virtuals protected so they can be overridden.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c7ebe8ded1
commit
65fb4b3a4f
@ -46,7 +46,14 @@ public:
|
|||||||
|
|
||||||
virtual ~wxHeaderCtrl();
|
virtual ~wxHeaderCtrl();
|
||||||
|
|
||||||
|
|
||||||
|
protected:
|
||||||
|
// override wxWindow methods which must be implemented by a new control
|
||||||
|
virtual wxSize DoGetBestSize() const;
|
||||||
|
virtual void DoSetSize(int x, int y,
|
||||||
|
int width, int height,
|
||||||
|
int sizeFlags = wxSIZE_AUTO);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// implement base class pure virtuals
|
// implement base class pure virtuals
|
||||||
virtual void DoSetCount(unsigned int count);
|
virtual void DoSetCount(unsigned int count);
|
||||||
@ -58,12 +65,6 @@ private:
|
|||||||
virtual void DoSetColumnsOrder(const wxArrayInt& order);
|
virtual void DoSetColumnsOrder(const wxArrayInt& order);
|
||||||
virtual wxArrayInt DoGetColumnsOrder() const;
|
virtual wxArrayInt DoGetColumnsOrder() const;
|
||||||
|
|
||||||
// override wxWindow methods which must be implemented by a new control
|
|
||||||
virtual wxSize DoGetBestSize() const;
|
|
||||||
virtual void DoSetSize(int x, int y,
|
|
||||||
int width, int height,
|
|
||||||
int sizeFlags = wxSIZE_AUTO);
|
|
||||||
|
|
||||||
// override MSW-specific methods needed for new control
|
// override MSW-specific methods needed for new control
|
||||||
virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
|
virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
|
||||||
virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);
|
virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result);
|
||||||
|
Loading…
Reference in New Issue
Block a user