]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/toolbar.h
Added configure test for const_cast<>(), and enabled it
[wxWidgets.git] / include / wx / motif / toolbar.h
index f7864c43afb6f573afd47ccdcea243a02b25fb33..4ad276b8cf15af0aa46e7cfd8909e3f008302db4 100644 (file)
@@ -53,7 +53,7 @@ public:
     // find tool by widget
     wxToolBarToolBase *FindToolByWidget(WXWidget w) const;
     
-protected:
+private:
     // common part of all ctors
     void Init();
     
@@ -66,14 +66,18 @@ protected:
     virtual void DoSetToggle(wxToolBarToolBase *tool, bool toggle);
     
     virtual wxToolBarToolBase *CreateTool(int id,
-        const wxBitmap& bitmap1,
-        const wxBitmap& bitmap2,
-        bool toggle,
-        wxObject *clientData,
-        const wxString& shortHelpString,
-        const wxString& longHelpString);
+                                          const wxString& label,
+                                          const wxBitmap& bmpNormal,
+                                          const wxBitmap& bmpDisabled,
+                                          wxItemKind kind,
+                                          wxObject *clientData,
+                                          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)
 };