more wxBitmapType-related backward compatibility fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -84,6 +84,20 @@ public:
|
||||
// check if we have any icons at all
|
||||
bool IsEmpty() const { return GetIconCount() == 0; }
|
||||
|
||||
#ifdef WXWIN_COMPATIBILITY_2_8
|
||||
wxDEPRECATED( void AddIcon(const wxString& file, long type)
|
||||
{
|
||||
AddIcon(file, (long)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;
|
||||
|
Reference in New Issue
Block a user