mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 03:15:21 +08:00
Replaced 10302 with 10301 for FLTK_ABI_VERSION
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+3
-3
@@ -63,7 +63,7 @@ class FL_EXPORT Fl_Tree_Item {
|
||||
ACTIVE = 1<<2, ///> item is active
|
||||
SELECTED = 1<<3, ///> item is selected
|
||||
};
|
||||
#if FLTK_ABI_VERSION >= 10302
|
||||
#if FLTK_ABI_VERSION >= 10301
|
||||
// NEW
|
||||
unsigned short _flags; // misc flags
|
||||
#else /*FLTK_ABI_VERSION*/
|
||||
@@ -81,7 +81,7 @@ class FL_EXPORT Fl_Tree_Item {
|
||||
Fl_Tree_Item_Array _children; // array of child items
|
||||
Fl_Tree_Item *_parent; // parent item (=0 if root)
|
||||
void *_userdata; // user data that can be associated with an item
|
||||
#if FLTK_ABI_VERSION >= 10302
|
||||
#if FLTK_ABI_VERSION >= 10301
|
||||
Fl_Tree_Item *_prev_sibling; // previous sibling (same level)
|
||||
Fl_Tree_Item *_next_sibling; // next sibling (same level)
|
||||
#endif /*FLTK_ABI_VERSION*/
|
||||
@@ -350,7 +350,7 @@ public:
|
||||
|
||||
// Protected methods
|
||||
protected:
|
||||
#if FLTK_ABI_VERSION >= 10302
|
||||
#if FLTK_ABI_VERSION >= 10301
|
||||
/// Set a flag to an on or off value. val is 0 or 1.
|
||||
inline void set_flag(unsigned short flag,int val) {
|
||||
if ( val ) _flags |= flag; else _flags &= ~flag;
|
||||
|
||||
Reference in New Issue
Block a user