Author: greg.ercolano
Date: 2010-06-07 15:51:18 -0700 (Mon, 07 Jun 2010)
New Revision: 7635
Log:
Removed Fl_Tree::parent(Fl_Tree_Item*) to solve STR#2377.
The method was extraneous; item->parent() should be used instead.



Modified:
   branches/branch-1.3/FL/Fl_Tree.H

Modified: branches/branch-1.3/FL/Fl_Tree.H
===================================================================
--- branches/branch-1.3/FL/Fl_Tree.H    2010-06-07 13:39:03 UTC (rev 7634)
+++ branches/branch-1.3/FL/Fl_Tree.H    2010-06-07 22:51:18 UTC (rev 7635)
@@ -214,13 +214,6 @@
   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().

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to