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

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2016-10-17 12:51:05 +00:00
parent ae419c9dd9
commit bacced2c92
1 changed files with 6 additions and 0 deletions

View File

@ -275,9 +275,15 @@ public:
}
const Fl_Tree_Prefs& prefs() const;
/// Return the tree for this item.
/// \version 1.3.3
const Fl_Tree *tree() const {
return(_tree);
}
/// Return the tree for this item.
/// \version 1.3.4
Fl_Tree *tree() {
return(_tree);
}
//////////////////
// State
//////////////////