From 3346a9fee75faff9b8087513204cb63cfcf8ec0c Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 14 Jul 2002 17:03:31 +0000 Subject: Change the Fl_Group current, add, and remove methods so they are no longer inline; this should make shared libraries work better on all platforms. Link FLUID against shared libraries, too, so that the installed fluid is also using shared libraries (still make a statically linked fluid for the build) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Group.H | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'FL/Fl_Group.H') diff --git a/FL/Fl_Group.H b/FL/Fl_Group.H index 38df5c522..e5e2a1b34 100644 --- a/FL/Fl_Group.H +++ b/FL/Fl_Group.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Group.H,v 1.6.2.4.2.3 2002/07/11 22:43:52 matthiaswm Exp $" +// "$Id: Fl_Group.H,v 1.6.2.4.2.4 2002/07/14 17:03:30 easysw Exp $" // // Group header file for the Fast Light Tool Kit (FLTK). // @@ -52,15 +52,10 @@ protected: public: FL_EXPORT int handle(int); -#ifdef __MWERKS__ FL_EXPORT void begin(); FL_EXPORT void end(); -#else - void begin() {current_ = this;} - void end() {current_ = (Fl_Group*)parent();} -#endif - static Fl_Group *current() {return current_;} - static void current(Fl_Group *g) {current_ = g;} + FL_EXPORT static Fl_Group *current(); + FL_EXPORT static void current(Fl_Group *g); int children() const {return children_;} Fl_Widget* child(int n) const {return array()[n];} @@ -101,5 +96,5 @@ public: #endif // -// End of "$Id: Fl_Group.H,v 1.6.2.4.2.3 2002/07/11 22:43:52 matthiaswm Exp $". +// End of "$Id: Fl_Group.H,v 1.6.2.4.2.4 2002/07/14 17:03:30 easysw Exp $". // -- cgit v1.2.3