- virtual wxToolBarTool *AddTool(const int toolIndex, const wxBitmap& bitmap, const wxBitmap& pushedBitmap = wxNullBitmap,
- const bool toggle = FALSE, const long xPos = -1, const long yPos = -1, wxObject *clientData = NULL,
- const wxString& helpString1 = "", const wxString& helpString2 = "");
- virtual void AddSeparator(void);
- virtual void ClearTools(void);
-
- virtual void EnableTool(const int toolIndex, const bool enable);
- virtual void ToggleTool(const int toolIndex, const bool toggle); // toggle is TRUE if toggled on
- virtual void SetToggle(const int toolIndex, const bool toggle); // Set this to be togglable (or not)
- virtual wxObject *GetToolClientData(const int index) const;
- inline wxList& GetTools(void) const { return (wxList&) m_tools; }
+ virtual wxToolBarTool *AddTool(int toolIndex, const wxBitmap& bitmap, const wxBitmap& pushedBitmap = wxNullBitmap,
+ bool toggle = FALSE, long xPos = -1, long yPos = -1, wxObject *clientData = NULL,
+ const wxString& helpString1 = wxEmptyString, const wxString& helpString2 = wxEmptyString);
+ virtual void AddSeparator();
+ virtual void ClearTools();
+
+ virtual void EnableTool(int toolIndex, bool enable);
+ virtual void ToggleTool(int toolIndex, bool toggle); // toggle is TRUE if toggled on
+ virtual void SetToggle(int toolIndex, bool toggle); // Set this to be togglable (or not)
+ virtual wxObject *GetToolClientData(int index) const;
+ inline wxList& GetTools() const { return (wxList&) m_tools; }