- const wxString& labelText = "", bool alignTextRight = FALSE,
- bool isFlat = TRUE );
- virtual void AddTool( int toolIndex, wxBitmap labelBmp,
- const wxString& labelText = "", bool alignTextRight = FALSE,
- bool isFlat = TRUE );
+ const wxString& labelText = wxT(""), 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 = wxT(""), bool alignTextRight = false,
+ bool isFlat = true );
+
+ // Unhide method from parent.
+
+ virtual wxToolBarToolBase *AddTool (wxToolBarToolBase *tool)
+ { return wxToolBarBase::AddTool(tool); };
+
+ // 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,
+ const bool toggle = false, const long xPos = wxDefaultCoord, const long yPos = wxDefaultCoord, wxObject *clientData = NULL,
+ const wxString& helpString1 = wxT(""), const wxString& helpString2 = wxT(""));
+
+ // Adds a separator. See the documentation for wxToolBar for details.
+
+ virtual void AddSeparator( wxWindow* pSepartorWnd );
+
+ // Unhide method from parent.