fixing deprecated constructors for osx

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2008-09-18 09:12:32 +00:00
parent 326b62161d
commit 70bf329592
3 changed files with 17 additions and 9 deletions

View File

@@ -79,9 +79,8 @@ public:
AddIcon(file, (wxBitmapType)type);
}
)
// explicitly specifying inline allows gcc < 3.4 to
// handle the deprecation attribute even in the constructor.
wxDEPRECATED( inline wxIconBundle (const wxString& file, long type)
wxDEPRECATED_CONSTRUCTOR( wxIconBundle (const wxString& file, long type)
{
AddIcon(file, (wxBitmapType)type);
}