fixes for deprecated warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -351,11 +351,14 @@ public:
|
||||
void SetItemSelectedImage(const wxTreeItemId& item, int image)
|
||||
{ SetItemImage(item, image, wxTreeItemIcon_Selected); }
|
||||
|
||||
// use the versions taking wxTreeItemIdValue cookies
|
||||
// use the versions taking wxTreeItemIdValue cookies (note that
|
||||
// GetNextChild() is not inside wxDEPRECATED on purpose, as otherwise we
|
||||
// get twice as many warnings without any added benefit: it is always used
|
||||
// with GetFirstChild() anyhow)
|
||||
wxDEPRECATED( wxTreeItemId GetFirstChild(const wxTreeItemId& item,
|
||||
long& cookie) const );
|
||||
wxDEPRECATED( wxTreeItemId GetNextChild(const wxTreeItemId& item,
|
||||
long& cookie) const );
|
||||
wxTreeItemId GetNextChild(const wxTreeItemId& item,
|
||||
long& cookie) const;
|
||||
#endif // WXWIN_COMPATIBILITY_2_4
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user