// overridables
virtual void AddTool( int toolIndex,
- wxWindow* pToolWindow,
- const wxSize& size = wxDefaultSize );
-
- virtual void AddTool( int toolIndex,
- const wxString& imageFileName,
- int imageFileType = wxBITMAP_TYPE_BMP,
- 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 );
+ wxWindow* pToolWindow,
+ const wxSize& size = wxDefaultSize );
+
+ virtual void AddTool( int toolIndex,
+ const wxString& imageFileName,
+ wxBitmapType imageFileType = wxBITMAP_TYPE_BMP,
+ 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 );
// method from wxToolBarBase (for compatibility), only
// first two arguments are valid
}
void wxDynamicToolBar::AddTool( int toolIndex,
- const wxString& imageFileName,
- int imageFileType,
- const wxString& labelText, bool alignTextRight,
- bool isFlat )
+ const wxString& imageFileName,
+ wxBitmapType imageFileType,
+ const wxString& labelText, bool alignTextRight,
+ bool isFlat )
{
wxNewBitmapButton* pBtn =