diff options
| author | Greg Ercolano <erco@seriss.com> | 2010-06-07 22:51:18 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2010-06-07 22:51:18 +0000 |
| commit | d7fdaf8262180573de0e838a70c1368641b82a8e (patch) | |
| tree | d2322878e101c89c5f33015b80d18f0e7a6b4c5a | |
| parent | da5042584abf40bec2e31154feaadfab29f070c7 (diff) | |
Removed Fl_Tree::parent(Fl_Tree_Item*) to solve STR#2377.
The method was extraneous; item->parent() should be used instead.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | FL/Fl_Tree.H | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/FL/Fl_Tree.H b/FL/Fl_Tree.H index bd426b212..c365d1ae8 100644 --- a/FL/Fl_Tree.H +++ b/FL/Fl_Tree.H @@ -214,13 +214,6 @@ public: Fl_Tree_Item *find_item(const char *path); const Fl_Tree_Item *find_item(const char *path) const; - /// Return the parent for specified \p item. - /// - /// \returns item's parent, or 0 if none (root). - /// - Fl_Tree_Item *parent(Fl_Tree_Item *item) { - return(item->parent()); - } /// Return the item that was last clicked. /// /// Valid only from within an Fl_Tree::callback(). |
