Added wxToolBar::SetTool[Normal|Disabled]Bitmap for wxMSW, wxGTK and wxMac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2007-01-25 23:35:07 +00:00
parent a34d58f775
commit 69d4bbb974
10 changed files with 125 additions and 10 deletions

View File

@@ -57,7 +57,13 @@ class WXDLLEXPORT wxToolBar: public wxToolBarBase
virtual void SetRows(int nRows);
// Add all the buttons
#if wxABI_VERSION >= 20802
// TODO: In 2.9 these should probably be virtual, and declared in the base class...
void SetToolNormalBitmap(int id, const wxBitmap& bitmap);
void SetToolDisabledBitmap(int id, const wxBitmap& bitmap);
#endif
// Add all the buttons
virtual wxString MacGetToolTipString( wxPoint &where ) ;
void OnPaint(wxPaintEvent& event) ;