diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2016-11-19 01:20:53 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2016-11-19 01:20:53 +0000 |
| commit | 6d4b93e9c75023000512e3370b7a75610c8a11d9 (patch) | |
| tree | 2d219fb3fca6a2666edc2e5c71e079b96ed6a9dc /examples/tree-custom-draw-items.cxx | |
| parent | 18d478055ecb7421309202fcecb844a641c73f16 (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-custom-draw-items.cxx')
| -rw-r--r-- | examples/tree-custom-draw-items.cxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/examples/tree-custom-draw-items.cxx b/examples/tree-custom-draw-items.cxx index fbee62700..58e7e87fd 100644 --- a/examples/tree-custom-draw-items.cxx +++ b/examples/tree-custom-draw-items.cxx @@ -4,7 +4,7 @@ // Demonstrate Fl_Tree custom item draw callback. - erco 11/09/2013 // // Copyright 2013 Greg Ercolano. -// Copyright 1998-2013 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 @@ -26,7 +26,6 @@ #define MAX(a,b) ((a)>(b))?(a):(b) #endif -#if FLTK_ABI_VERSION >= 10303 // DERIVE CUSTOM CLASS FROM Fl_Tree_Item TO IMPLEMENT SHOWING THE TIME OF DAY // This demonstrates that item content can be dynamic and highly customized. // @@ -176,15 +175,6 @@ int main(int argc, char *argv[]) { win->show(argc, argv); return(Fl::run()); } -#else -#include <FL/Fl.H> -#include <FL/fl_message.H> -int main(int, char**) { - fl_alert("This demo is dependent on an ABI feature.\n" - "FLTK_ABI_VERSION must be set to 10303 (or higher) in Enumerations.H"); - return 1; -} -#endif // // End of "$Id$". |
