X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fcb35b5f0577a323f3289f78cb6c7b3b39217397..38a097f588121ffcab2fa57e4494a6d0783c3567:/include/wx/motif/toolbar.h diff --git a/include/wx/motif/toolbar.h b/include/wx/motif/toolbar.h index fdb2e95681..5e60f94c78 100644 --- a/include/wx/motif/toolbar.h +++ b/include/wx/motif/toolbar.h @@ -12,10 +12,6 @@ #ifndef _WX_TOOLBAR_H_ #define _WX_TOOLBAR_H_ -#ifdef __GNUG__ -#pragma interface "toolbar.h" -#endif - class WXDLLEXPORT wxToolBar : public wxToolBarBase { public: @@ -53,7 +49,7 @@ public: // find tool by widget wxToolBarToolBase *FindToolByWidget(WXWidget w) const; -protected: +private: // common part of all ctors void Init(); @@ -74,7 +70,10 @@ protected: const wxString& shortHelp, const wxString& longHelp); virtual wxToolBarToolBase *CreateTool(wxControl *control); - + + virtual void DoSetSize(int x, int y, + int width, int height, + int sizeFlags = wxSIZE_AUTO); private: DECLARE_DYNAMIC_CLASS(wxToolBar) };