X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27e090842d1cb879327056ef6d309177b25a405a..f303d69f934a76c56e14713a0748fdd10635e462:/include/wx/tbarbase.h diff --git a/include/wx/tbarbase.h b/include/wx/tbarbase.h index 1197888d37..2414b2c56b 100644 --- a/include/wx/tbarbase.h +++ b/include/wx/tbarbase.h @@ -16,10 +16,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "tbarbase.h" -#endif - #include "wx/defs.h" #if wxUSE_TOOLBAR @@ -36,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; @@ -198,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)