summaryrefslogtreecommitdiff
path: root/FL/Fl_Group.H
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-07-14 17:03:31 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-07-14 17:03:31 +0000
commit3346a9fee75faff9b8087513204cb63cfcf8ec0c (patch)
tree9d047b2a883c283ebca058e3872758aa8c39a69c /FL/Fl_Group.H
parent8e2ff295008e2319e01df604a7c8e382924b22cd (diff)
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
Diffstat (limited to 'FL/Fl_Group.H')
-rw-r--r--FL/Fl_Group.H13
1 files changed, 4 insertions, 9 deletions
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 $".
//