X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8f177c8e7309c8cf3ece1563870d135cc8f0e6a1..2c990ba6d4f88e18e6666f61efe55c7a8b5cc948:/include/wx/msw/tbarmsw.h diff --git a/include/wx/msw/tbarmsw.h b/include/wx/msw/tbarmsw.h index 278353b88c..388b501c08 100644 --- a/include/wx/msw/tbarmsw.h +++ b/include/wx/msw/tbarmsw.h @@ -1,18 +1,18 @@ ///////////////////////////////////////////////////////////////////////////// // Name: wx/msw/tbarmsw.h -// Purpose: wxToolBar for Win16 +// Purpose: wxToolBar for older Windowses // Author: Julian Smart // Modified by: 13.12.99 by VZ during toolbar classes reorganization // Created: 01/02/97 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_TBARMSW_H_ #define _WX_TBARMSW_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "tbarmsw.h" #endif @@ -25,7 +25,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxButtonBarNameStr; class WXDLLEXPORT wxMemoryDC; // ---------------------------------------------------------------------------- -// wxToolBar for Win16 +// wxToolBar for older Windowses // ---------------------------------------------------------------------------- class WXDLLEXPORT wxToolBar : public wxToolBarBase @@ -90,12 +90,13 @@ protected: virtual void DoSetToggle(wxToolBarToolBase *tool, bool toggle); virtual wxToolBarToolBase *CreateTool(int id, - const wxBitmap& bitmap1, - const wxBitmap& bitmap2, - bool toggle, + const wxString& label, + const wxBitmap& bmpNormal, + const wxBitmap& bmpDisabled, + wxItemKind kind, wxObject *clientData, - const wxString& shortHelpString, - const wxString& longHelpString); + const wxString& shortHelp, + const wxString& longHelp); virtual wxToolBarToolBase *CreateTool(wxControl *control); void DoRedrawTool(wxToolBarToolBase *tool);