X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0ddec397f6260193b517ee48f035c1f2ec3c5c2d..72ac4e888aff9b766216f96cc090b051a7f52188:/include/wx/iconbndl.h diff --git a/include/wx/iconbndl.h b/include/wx/iconbndl.h index 29a00000b5..1f0747547d 100644 --- a/include/wx/iconbndl.h +++ b/include/wx/iconbndl.h @@ -84,10 +84,10 @@ public: // check if we have any icons at all bool IsEmpty() const { return GetIconCount() == 0; } -#ifdef WXWIN_COMPATIBILITY_2_8 +#if WXWIN_COMPATIBILITY_2_8 wxDEPRECATED( void AddIcon(const wxString& file, long type) { - AddIcon(file, (long)type); + AddIcon(file, (wxBitmapType)type); } )