From 398acd9c2a73d0d5c69bb51f7f3497e229fb367c Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 24 Jul 2012 04:37:22 +0000 Subject: STR 2705: moved all inline constructors (that I could find) from header files into source files. Even though this breaks downward compatibility, it does make dynamic linking possible for all classes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Button.cxx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/Fl_Button.cxx') diff --git a/src/Fl_Button.cxx b/src/Fl_Button.cxx index 33196ad8d..edc26a81e 100644 --- a/src/Fl_Button.cxx +++ b/src/Fl_Button.cxx @@ -21,6 +21,9 @@ #include #include +#include +#include + Fl_Widget_Tracker *Fl_Button::key_release_tracker = 0; @@ -206,6 +209,20 @@ Fl_Button::Fl_Button(int X, int Y, int W, int H, const char *L) set_flag(SHORTCUT_LABEL); } + +Fl_Radio_Button::Fl_Radio_Button(int X,int Y,int W,int H,const char *L) +: Fl_Button(X, Y, W, H, L) { + type(FL_RADIO_BUTTON); +} + + +Fl_Toggle_Button::Fl_Toggle_Button(int X,int Y,int W,int H,const char *l) +: Fl_Button(X,Y,W,H,l) +{ + type(FL_TOGGLE_BUTTON); +} + + // // End of "$Id$". // -- cgit v1.2.3