]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/toolbar.h
Applied patch [ 1325207 ] Fixes unicode build using Solaris with Sun's SunPro compiler
[wxWidgets.git] / include / wx / motif / toolbar.h
index fdb2e95681ef1a72023d1454d783a467b706603d..5e60f94c78ff22a76ac7c54cb3a5684ce3b6da57 100644 (file)
 #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)
 };