diff options
Diffstat (limited to 'FL/Fl_Widget.H')
| -rw-r--r-- | FL/Fl_Widget.H | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FL/Fl_Widget.H b/FL/Fl_Widget.H index 18209afac..8a62c128d 100644 --- a/FL/Fl_Widget.H +++ b/FL/Fl_Widget.H @@ -448,7 +448,7 @@ public: \param[in] new_box the new box type \see box(), Fl_Boxtype */ - void box(Fl_Boxtype new_box) {box_ = new_box;} + void box(Fl_Boxtype new_box) {box_ = (uchar)new_box;} /** Gets the background color of the widget. \return current background color @@ -527,7 +527,7 @@ public: /** Shortcut to set the label text and type in one call. \see label(const char *), labeltype(Fl_Labeltype) */ - void label(Fl_Labeltype a, const char* b) {label_.type = a; label_.value = b;} + void label(Fl_Labeltype a, const char* b) {label_.type = (uchar)a; label_.value = b;} /** Gets the label type. \return the current label type. @@ -543,7 +543,7 @@ public: \param[in] a new label type \see Fl_Labeltype */ - void labeltype(Fl_Labeltype a) {label_.type = a;} + void labeltype(Fl_Labeltype a) {label_.type = (uchar)a;} /** Gets the label color. The default color is FL_FOREGROUND_COLOR. |
