From b849a1d2d9c5eb76bccebe4f48716db15933e135 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Thu, 16 Jan 2014 00:58:58 +0000 Subject: ABI fixes. These are problems "ABI Compliance Checker" found with the recent Fl_Tree mods. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10062 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Tree.H | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'FL/Fl_Tree.H') diff --git a/FL/Fl_Tree.H b/FL/Fl_Tree.H index 9446e08d1..ab637b947 100644 --- a/FL/Fl_Tree.H +++ b/FL/Fl_Tree.H @@ -390,7 +390,13 @@ public: Fl_Tree_Item *find_item(const char *path); const Fl_Tree_Item *find_item(const char *path) const; int item_pathname(char *pathname, int pathnamelen, const Fl_Tree_Item *item) const; +#if FLTK_ABI_VERSION >= 10303 + const Fl_Tree_Item* find_clicked(int yonly=0) const; + Fl_Tree_Item* find_clicked(int yonly=0); +#else const Fl_Tree_Item *find_clicked() const; + Fl_Tree_Item *find_clicked(); +#endif Fl_Tree_Item *item_clicked(); Fl_Tree_Item *first(); Fl_Tree_Item *first_visible(); // deprecated in ABI 10303 -- cgit v1.2.3