From cdee5e204faaefd92eab79a8738da5982c990e6c Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Fri, 19 Dec 2014 03:41:45 +0000 Subject: Fixes STR #3169, comment #3. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10492 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Enumerations.H | 2 +- FL/Fl_Tabs.H | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'FL') diff --git a/FL/Enumerations.H b/FL/Enumerations.H index 3a793c3c9..ec2619ca5 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -27,7 +27,7 @@ * in the current patch release of FLTK. ** Use for static builds only! ** * For more info on this macro, see: http://fltk.org/cmp.php#FLTK_ABI_VERSION */ -//#define FLTK_ABI_VERSION 10303 +//#define FLTK_ABI_VERSION 10304 # include "Fl_Export.H" # include "fl_types.h" diff --git a/FL/Fl_Tabs.H b/FL/Fl_Tabs.H index b6693210d..756b550cf 100644 --- a/FL/Fl_Tabs.H +++ b/FL/Fl_Tabs.H @@ -199,7 +199,12 @@ such as using the arrow keys while at the left or right end of the tabs. */ class FL_EXPORT Fl_Tabs : public Fl_Group { - Fl_Widget *value_; +#if FLTK_ABI_VERSION >= 10304 + // NEW (nothing) +#else + // OLD (maintained for ABI compat) + Fl_Widget *value_; // NOTE: this member no longer used -- STR #3169 +#endif Fl_Widget *push_; int *tab_pos; // array of x-offsets of tabs per child + 1 int *tab_width; // array of widths of tabs per child + 1 -- cgit v1.2.3