- virtual wxToolBarToolBase *AddTool(const int toolIndex, const wxBitmap& bitmap, const wxBitmap& pushedBitmap = wxNullBitmap,
+ // Adds a tool. See the documentation for wxToolBar for details.
+
+ virtual void AddTool( int toolIndex,
+ const wxString& imageFileName,
+ wxBitmapType imageFileType = wxBITMAP_TYPE_BMP,
+ const wxString& labelText = "", bool alignTextRight = FALSE,
+ bool isFlat = TRUE );
+ // Adds a tool. See the documentation for wxToolBar for details.
+
+ virtual void AddTool( int toolIndex, wxBitmap labelBmp,
+ const wxString& labelText = "", bool alignTextRight = FALSE,
+ bool isFlat = TRUE );
+
+ // Method from wxToolBarBase (for compatibility), only
+ // the first two arguments are valid.
+ // See the documentation for wxToolBar for details.
+
+ virtual wxToolBarToolBase *AddTool(const int toolIndex, const wxBitmap& bitmap, const wxBitmap& pushedBitmap = wxNullBitmap,