X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..bd9f3519cf4d3adec765a932a726e2f1d34e0df9:/include/wx/tbarbase.h diff --git a/include/wx/tbarbase.h b/include/wx/tbarbase.h index f3c9b161fe..8eb5f22af4 100644 --- a/include/wx/tbarbase.h +++ b/include/wx/tbarbase.h @@ -32,7 +32,7 @@ class WXDLLEXPORT wxImage; // constants // ---------------------------------------------------------------------------- -extern WXDLLEXPORT_DATA(const wxChar*) wxToolBarNameStr; +extern WXDLLEXPORT_DATA(const wxChar) wxToolBarNameStr[]; extern WXDLLEXPORT_DATA(const wxSize) wxDefaultSize; extern WXDLLEXPORT_DATA(const wxPoint) wxDefaultPosition; @@ -105,7 +105,7 @@ public: m_toolStyle = wxTOOL_STYLE_CONTROL; } - ~wxToolBarToolBase(){} + virtual ~wxToolBarToolBase(){} // accessors // --------- @@ -194,15 +194,6 @@ public: virtual void Detach() { m_tbar = (wxToolBarBase *)NULL; } virtual void Attach(wxToolBarBase *tbar) { m_tbar = tbar; } - // compatibility only, don't use -#if WXWIN_COMPATIBILITY_2_2 - wxDEPRECATED( const wxBitmap& GetBitmap1() const ); - wxDEPRECATED( const wxBitmap& GetBitmap2() const ); - - wxDEPRECATED( void SetBitmap1(const wxBitmap& bmp) ); - wxDEPRECATED( void SetBitmap2(const wxBitmap& bmp) ); -#endif // WXWIN_COMPATIBILITY_2_2 - protected: wxToolBarBase *m_tbar; // the toolbar to which we belong (may be NULL)