#ifndef _WX_TOOLBAR_H_
#define _WX_TOOLBAR_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "toolbar.h"
#endif
// find tool by widget
wxToolBarToolBase *FindToolByWidget(WXWidget w) const;
-protected:
+private:
// common part of all ctors
void Init();
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)
};