From 1b1f02a3659eebdcbc56100cea1460be726603c8 Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Thu, 22 May 2014 15:38:27 +0000 Subject: [PATCH] Fix STR #3086, missing virtual dtor when ABI >= 10303. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10157 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Tree_Item.H | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/FL/Fl_Tree_Item.H b/FL/Fl_Tree_Item.H index 23ca54c87..4cd9027ca 100644 --- a/FL/Fl_Tree_Item.H +++ b/FL/Fl_Tree_Item.H @@ -125,8 +125,10 @@ public: Fl_Tree_Item(const Fl_Tree_Prefs &prefs); // CTOR -- backwards compatible #if FLTK_ABI_VERSION >= 10303 Fl_Tree_Item(Fl_Tree *tree); // CTOR -- ABI 1.3.3+ + virtual ~Fl_Tree_Item(); // DTOR -- ABI 1.3.3+ +#else + ~Fl_Tree_Item(); // DTOR -- backwards compatible #endif - ~Fl_Tree_Item(); // DTOR Fl_Tree_Item(const Fl_Tree_Item *o); // COPY CTOR /// The item's x position relative to the window int x() const { return(_xywh[0]); }