X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e98e625cbbe269f109b2296a045a657cba00fede..96e93f5b8325700896eb6043ffbf5e496b279747:/include/wx/iconbndl.h?ds=inline diff --git a/include/wx/iconbndl.h b/include/wx/iconbndl.h index f01293ca75..1f0747547d 100644 --- a/include/wx/iconbndl.h +++ b/include/wx/iconbndl.h @@ -84,6 +84,20 @@ public: // check if we have any icons at all bool IsEmpty() const { return GetIconCount() == 0; } +#if WXWIN_COMPATIBILITY_2_8 + wxDEPRECATED( void AddIcon(const wxString& file, long type) + { + AddIcon(file, (wxBitmapType)type); + } + ) + + wxDEPRECATED( wxIconBundle(const wxString& file, long type) + { + AddIcon(file, (wxBitmapType)type); + } + ) +#endif // WXWIN_COMPATIBILITY_2_8 + protected: virtual wxGDIRefData *CreateGDIRefData() const; virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;