summaryrefslogtreecommitdiff
path: root/FL/Fl_Tree.H
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2012-04-13 02:51:15 +0000
committerGreg Ercolano <erco@seriss.com>2012-04-13 02:51:15 +0000
commit418dd143f048cad1035803fdd7118e791fb7dd26 (patch)
tree5fe5534e8a257b16fc0f9678e9a784878cf94e0a /FL/Fl_Tree.H
parentc28adce903579741b3da98ea58c632666acabed8 (diff)
ABI modifications to Fl_Tree: deprecate mouse selection hotfix with proper solution.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9340 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Tree.H')
-rw-r--r--FL/Fl_Tree.H7
1 files changed, 7 insertions, 0 deletions
diff --git a/FL/Fl_Tree.H b/FL/Fl_Tree.H
index 7a9111114..67278cca8 100644
--- a/FL/Fl_Tree.H
+++ b/FL/Fl_Tree.H
@@ -199,6 +199,13 @@ class FL_EXPORT Fl_Tree : public Fl_Group {
Fl_Tree_Prefs _prefs; // all the tree's settings
int _scrollbar_size; // size of scrollbar trough
+#if FLTK_ABI_VERSION >= 10302
+ // NEW:
+ Fl_Tree_Item *_lastselect;
+#else
+ // OLD: static data inside handle() method
+#endif
+
void fix_scrollbar_order();
protected: