Add non-const version of Fl_Tree_Item::tree() as ABI feature.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@12034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2016-10-17 12:45:55 +00:00
parent b9a020dcc7
commit 6daf518874

View File

@ -309,9 +309,17 @@ public:
#if FLTK_ABI_VERSION >= 10303
const Fl_Tree_Prefs& prefs() const;
/// Return the tree for this item.
/// \version 1.3.3 (ABI feature)
const Fl_Tree *tree() const {
return(_tree);
}
#endif
#if FLTK_ABI_VERSION >= 10304
/// Return the tree for this item.
/// \version 1.3.4 (ABI feature)
Fl_Tree *tree() {
return(_tree);
}
#endif
//////////////////
// State