summaryrefslogtreecommitdiff
path: root/examples/tree-simple.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2016-11-19 01:20:53 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2016-11-19 01:20:53 +0000
commit6d4b93e9c75023000512e3370b7a75610c8a11d9 (patch)
tree2d219fb3fca6a2666edc2e5c71e079b96ed6a9dc /examples/tree-simple.cxx
parent18d478055ecb7421309202fcecb844a641c73f16 (diff)
Finally remove FLTK_ABI_VERSION preprocessor macro from code.
FLTK_ABI_VERSION has been renamed to FL_ABI_VERSION in FLTK 1.4.0. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12121 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'examples/tree-simple.cxx')
-rw-r--r--examples/tree-simple.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/tree-simple.cxx b/examples/tree-simple.cxx
index 6450e9849..7e3cf964d 100644
--- a/examples/tree-simple.cxx
+++ b/examples/tree-simple.cxx
@@ -4,7 +4,7 @@
// Simple Fl_Tree widget example. - erco 06/05/2010
//
// Copyright 2010 Greg Ercolano.
-// Copyright 1998-2010 by Bill Spitzak and others.
+// Copyright 1998-2016 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -44,12 +44,10 @@ void TreeCallback(Fl_Widget *w, void *data) {
case FL_TREE_REASON_CLOSED:
// fprintf(stderr, "TreeCallback: Item '%s' closed\n", item->label());
break;
-#if FLTK_ABI_VERSION >= 10301
// To enable this callback, use tree->item_reselect_mode(FL_TREE_SELECTABLE_ALWAYS);
case FL_TREE_REASON_RESELECTED:
// fprintf(stderr, "TreeCallback: Item '%s' reselected\n", item->label());
break;
-#endif
default:
break;
}