]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/toolbar.h
renamed WXDLLEXPORT_BASE/CORE to WXDLLIMPEXP_BASE/CORE
[wxWidgets.git] / include / wx / motif / toolbar.h
index fdb2e95681ef1a72023d1454d783a467b706603d..14cd50c0ee55778749f252d7b30a0d97e532e6b5 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_TOOLBAR_H_
 #define _WX_TOOLBAR_H_
 
 #ifndef _WX_TOOLBAR_H_
 #define _WX_TOOLBAR_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "toolbar.h"
 #endif
 
 #pragma interface "toolbar.h"
 #endif
 
@@ -53,7 +53,7 @@ public:
     // find tool by widget
     wxToolBarToolBase *FindToolByWidget(WXWidget w) const;
     
     // find tool by widget
     wxToolBarToolBase *FindToolByWidget(WXWidget w) const;
     
-protected:
+private:
     // common part of all ctors
     void Init();
     
     // common part of all ctors
     void Init();
     
@@ -74,7 +74,10 @@ protected:
                                           const wxString& shortHelp,
                                           const wxString& longHelp);
     virtual wxToolBarToolBase *CreateTool(wxControl *control);
                                           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)
 };
 private:
     DECLARE_DYNAMIC_CLASS(wxToolBar)
 };