summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryuri <yuri>2010-09-02 19:38:08 +0000
committeryuri <yuri>2010-09-02 19:38:08 +0000
commit71bf7c64008012f7ebacda04ca89cc2f1d68848c (patch)
tree1a46d97b76cc83e5384d34663099c5dd52c356b7
parent5a3aced3ab97ff110e44d2ed8ff6e5c47c7064d7 (diff)
add missing FL_EXPORT macro
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7694 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--FL/Fl_Tree.H2
-rw-r--r--FL/Fl_Tree_Item.H2
-rw-r--r--FL/Fl_Tree_Item_Array.H6
-rw-r--r--FL/Fl_Tree_Prefs.H2
4 files changed, 7 insertions, 5 deletions
diff --git a/FL/Fl_Tree.H b/FL/Fl_Tree.H
index 5e6865124..c42718587 100644
--- a/FL/Fl_Tree.H
+++ b/FL/Fl_Tree.H
@@ -130,7 +130,7 @@ enum Fl_Tree_Reason {
};
-class Fl_Tree : public Fl_Group {
+class FL_EXPORT Fl_Tree : public Fl_Group {
Fl_Tree_Item *_root; // can be null!
Fl_Tree_Item *_item_focus; // item that has focus box
Fl_Tree_Item *_callback_item; // item invoked during callback (can be NULL)
diff --git a/FL/Fl_Tree_Item.H b/FL/Fl_Tree_Item.H
index 983c8c0ab..434ae303c 100644
--- a/FL/Fl_Tree_Item.H
+++ b/FL/Fl_Tree_Item.H
@@ -56,7 +56,7 @@
/// When you make changes to items, you'll need to tell the tree to redraw()
/// for the changes to show up.
///
-class Fl_Tree_Item {
+class FL_EXPORT Fl_Tree_Item {
const char *_label; // label (memory managed)
int _labelfont; // label's font face
int _labelsize; // label's font size
diff --git a/FL/Fl_Tree_Item_Array.H b/FL/Fl_Tree_Item_Array.H
index 19a28b4dc..efa60acf9 100644
--- a/FL/Fl_Tree_Item_Array.H
+++ b/FL/Fl_Tree_Item_Array.H
@@ -5,7 +5,9 @@
#ifndef _FL_TREE_ITEM_ARRAY_H
#define _FL_TREE_ITEM_ARRAY_H
-class Fl_Tree_Item; // forward decl must *precede* first doxygen comment block
+#include "Fl_Export.H"
+
+class FL_EXPORT Fl_Tree_Item; // forward decl must *precede* first doxygen comment block
// or doxygen will not document our class..
//////////////////////////
@@ -46,7 +48,7 @@ class Fl_Tree_Item; // forward decl must *precede* first doxygen comment block
/// (unless otherwise noted).
///
-class Fl_Tree_Item_Array {
+class FL_EXPORT Fl_Tree_Item_Array {
Fl_Tree_Item **_items; // items array
int _total; // #items in array
int _size; // #items *allocated* for array
diff --git a/FL/Fl_Tree_Prefs.H b/FL/Fl_Tree_Prefs.H
index 26b5ef39e..c875e0cc4 100644
--- a/FL/Fl_Tree_Prefs.H
+++ b/FL/Fl_Tree_Prefs.H
@@ -82,7 +82,7 @@ enum Fl_Tree_Select {
/// You should probably be using the methods in Fl_Tree
/// instead of trying to accessing tree's preferences settings directly.
///
-class Fl_Tree_Prefs {
+class FL_EXPORT Fl_Tree_Prefs {
int _labelfont; // label's font face
int _labelsize; // label's font size
int _margintop; // --