make more Init() functions private

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2012-10-02 15:57:03 +00:00
parent f33a5bc61c
commit 95dc31e001
14 changed files with 33 additions and 38 deletions

View File

@@ -71,15 +71,14 @@ public:
m_gaugePos;
protected:
// common part of all ctors
void Init() { m_rangeMax = m_gaugePos = 0; }
// set the gauge value to the value of m_gaugePos
void DoSetGauge();
virtual wxSize DoGetBestSize() const;
private:
void Init() { m_rangeMax = m_gaugePos = 0; }
DECLARE_DYNAMIC_CLASS(wxGauge)
};