diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2010-12-12 20:06:04 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2010-12-12 20:06:04 +0000 |
| commit | b23984766932ed4d4feb13d76c9c92d1e5bb09ab (patch) | |
| tree | 1b1061e05909afdccd342922ea69d3c4d9195b53 | |
| parent | 318b3dea5750dfce5103a8fbce6eea38f7fcd613 (diff) | |
Fluid generates correct Fl_Int_Iput and Fl_Float_Input plus include line. STR 2476
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8019 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | fluid/Fl_Widget_Type.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx index 221afb248..5fe556078 100644 --- a/fluid/Fl_Widget_Type.cxx +++ b/fluid/Fl_Widget_Type.cxx @@ -67,6 +67,10 @@ const char* subclassname(Fl_Type* l) { if (c) return c; if (l->is_class()) return "Fl_Group"; if (p->o->type() == FL_WINDOW+1) return "Fl_Double_Window"; + if (strcmp(p->type_name(), "Fl_Input") == 0) { + if (p->o->type() == FL_FLOAT_INPUT) return "Fl_Float_Input"; + if (p->o->type() == FL_INT_INPUT) return "Fl_Int_Input"; + } } return l->type_name(); } |
