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

@@ -176,13 +176,6 @@ public: // overrides
FILEDIRBTN_OVERRIDES
protected:
// common part of all ctors
void Init()
{
m_dialog = NULL;
m_bIgnoreNextChange = false;
}
wxDialog *m_dialog;
public: // used by the GTK callback only
@@ -192,6 +185,12 @@ public: // used by the GTK callback only
void GTKUpdatePath(const char *gtkpath);
private:
void Init()
{
m_dialog = NULL;
m_bIgnoreNextChange = false;
}
DECLARE_DYNAMIC_CLASS(wxDirButton)
};