X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f02a879ed7efc5fcf6328ff47a1352ec82812b7..3dccf96eabc68d95839782d35e6193855f007fd2:/include/wx/msw/tbar95.h diff --git a/include/wx/msw/tbar95.h b/include/wx/msw/tbar95.h index 508dad108a..ec80d8d956 100644 --- a/include/wx/msw/tbar95.h +++ b/include/wx/msw/tbar95.h @@ -54,6 +54,9 @@ public: virtual void SetRows(int nRows); + virtual void SetToolNormalBitmap(int id, const wxBitmap& bitmap); + virtual void SetToolDisabledBitmap(int id, const wxBitmap& bitmap); + // implementation only from now on // ------------------------------- @@ -101,7 +104,9 @@ protected: wxObject *clientData, const wxString& shortHelp, const wxString& longHelp); - virtual wxToolBarToolBase *CreateTool(wxControl *control); + + virtual wxToolBarToolBase *CreateTool(wxControl *control, + const wxString& label); // return the appropriate size and flags for the toolbar control virtual wxSize DoGetBestSize() const; @@ -118,6 +123,9 @@ protected: // unneeded void CreateDisabledImageList(); + // get the Windows toolbar style of this control + long GetMSWToolbarStyle() const; + // the big bitmap containing all bitmaps of the toolbar buttons WXHBITMAP m_hBitmap;