X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af49c4b8a2d3553e733e71c7dd3911881f4c1a2a..1b8865e92caa043cf31043e38a788d8d4a9286e0:/include/wx/tbarsmpl.h diff --git a/include/wx/tbarsmpl.h b/include/wx/tbarsmpl.h index 3dbeac1ae7..b2522caca5 100644 --- a/include/wx/tbarsmpl.h +++ b/include/wx/tbarsmpl.h @@ -5,7 +5,7 @@ // Modified by: VZ on 14.12.99 during wxToolBar classes reorganization // Created: 01/02/97 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem +// Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -18,7 +18,7 @@ #include "wx/tbarbase.h" -#if wxUSE_TOOLBAR_SIMPLE +#if wxUSE_TOOLBAR && wxUSE_TOOLBAR_SIMPLE class WXDLLEXPORT wxMemoryDC; @@ -33,7 +33,7 @@ public: wxToolBarSimple() { Init(); } wxToolBarSimple(wxWindow *parent, - wxWindowID id, + wxWindowID winid, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxNO_BORDER | wxTB_HORIZONTAL, @@ -41,11 +41,11 @@ public: { Init(); - Create(parent, id, pos, size, style, name); + Create(parent, winid, pos, size, style, name); } bool Create(wxWindow *parent, - wxWindowID id, + wxWindowID winid, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxNO_BORDER | wxTB_HORIZONTAL, @@ -108,7 +108,7 @@ protected: // implement base class pure virtuals virtual wxToolBarToolBase *DoAddTool ( - int id, + int toolid, const wxString& label, const wxBitmap& bitmap, const wxBitmap& bmpDisabled, @@ -127,7 +127,7 @@ protected: virtual void DoToggleTool(wxToolBarToolBase *tool, bool toggle); virtual void DoSetToggle(wxToolBarToolBase *tool, bool toggle); - virtual wxToolBarToolBase *CreateTool(int id, + virtual wxToolBarToolBase *CreateTool(int winid, const wxString& label, const wxBitmap& bmpNormal, const wxBitmap& bmpDisabled, @@ -164,7 +164,7 @@ protected: private: DECLARE_EVENT_TABLE() - DECLARE_DYNAMIC_CLASS(wxToolBarSimple) + DECLARE_DYNAMIC_CLASS_NO_COPY(wxToolBarSimple) }; #endif // wxUSE_TOOLBAR_SIMPLE