From 65e732d18994c40cffeed9fd65bc198f405bc398 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 21 Jan 2003 14:51:54 +0000 Subject: Add FL_EXPORT to nested classes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2924 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- CHANGES | 2 ++ FL/Fl_Preferences.H | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index 90fe3736f..f76f5793a 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,8 @@ CHANGES IN FLTK 1.1.3 - Documentation updates. + - The Fl_Preferences header file needed to FL_EXPORT all + of the nested classes for WIN32. - Fl_Double_Window couldn't be nested on WIN32. [SF Bug #658219] - Fl_Slider didn't call the callback function when the diff --git a/FL/Fl_Preferences.H b/FL/Fl_Preferences.H index 228c21bb0..0d641130c 100644 --- a/FL/Fl_Preferences.H +++ b/FL/Fl_Preferences.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Preferences.H,v 1.1.2.11 2002/09/05 20:44:35 matthiaswm Exp $" +// "$Id: Fl_Preferences.H,v 1.1.2.12 2003/01/21 14:51:54 easysw Exp $" // // Preferences definitions for the Fast Light Tool Kit (FLTK). // @@ -83,7 +83,7 @@ public: // char export( const char *filename, Type fileFormat ); // char import( const char *filename ); - class Name { + class FL_EXPORT Name { char *data_; public: Name( unsigned int n ); @@ -101,7 +101,7 @@ private: static char nameBuffer[128]; - class Node // a node contains a list to all its entries + class FL_EXPORT Node // a node contains a list to all its entries { // and all means to manage the tree structure Node *child_, *next_, *parent_; char *path_; @@ -133,7 +133,7 @@ private: }; friend class Node; - class RootNode // the root node manages file paths and basic reading and writing + class FL_EXPORT RootNode // the root node manages file paths and basic reading and writing { Fl_Preferences *prefs_; char *filename_; @@ -157,5 +157,5 @@ private: #endif // !Fl_Preferences_H // -// End of "$Id: Fl_Preferences.H,v 1.1.2.11 2002/09/05 20:44:35 matthiaswm Exp $". +// End of "$Id: Fl_Preferences.H,v 1.1.2.12 2003/01/21 14:51:54 easysw Exp $". // -- cgit v1.2.3