summaryrefslogtreecommitdiff
path: root/src/Fl_Button.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2012-07-24 04:37:22 +0000
committerMatthias Melcher <fltk@matthiasm.com>2012-07-24 04:37:22 +0000
commit398acd9c2a73d0d5c69bb51f7f3497e229fb367c (patch)
tree1c7466ccccbe5dd68b23eb459ba4e045491df7fd /src/Fl_Button.cxx
parente607c90877e3d2dbf352d0f794c6c81c6d264b4e (diff)
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
Diffstat (limited to 'src/Fl_Button.cxx')
-rw-r--r--src/Fl_Button.cxx17
1 files changed, 17 insertions, 0 deletions
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 <FL/Fl_Group.H>
#include <FL/Fl_Window.H>
+#include <FL/Fl_Radio_Button.H>
+#include <FL/Fl_Toggle_Button.H>
+
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$".
//