Make wxToolBar::Init() private in wxQt

No real changes, just keep private method out of the public part.
This commit is contained in:
Scott Furry
2017-07-14 16:40:09 +02:00
committed by Vadim Zeitlin
parent f741031e69
commit 4c0b919851

View File

@@ -32,7 +32,6 @@ public:
virtual ~wxToolBar(); virtual ~wxToolBar();
void Init();
bool Create(wxWindow *parent, bool Create(wxWindow *parent,
wxWindowID id, wxWindowID id,
const wxPoint& pos = wxDefaultPosition, const wxPoint& pos = wxDefaultPosition,
@@ -69,6 +68,8 @@ protected:
virtual void DoSetToggle(wxToolBarToolBase *tool, bool toggle) wxOVERRIDE; virtual void DoSetToggle(wxToolBarToolBase *tool, bool toggle) wxOVERRIDE;
private: private:
void Init();
long GetButtonStyle(); long GetButtonStyle();
QToolBar *m_qtToolBar; QToolBar *m_qtToolBar;