diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-07-19 20:41:58 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-07-19 20:42:08 +0200 |
| commit | e8eccde8db246d262d7a9e1c6088cc24e82c84e8 (patch) | |
| tree | 1ce212048c5b6f96e51463cbd9bb3e9ef1813998 /fluid/Fl_Button_Type.h | |
| parent | 35728ac9ecab78cc60ca89f9b5a6ad8f864bb8c4 (diff) | |
FLUID: RTTI improvements, 'is_a90' now const, apply RTTI
Diffstat (limited to 'fluid/Fl_Button_Type.h')
| -rw-r--r-- | fluid/Fl_Button_Type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/Fl_Button_Type.h b/fluid/Fl_Button_Type.h index 2013e1646..ea7ed7cd3 100644 --- a/fluid/Fl_Button_Type.h +++ b/fluid/Fl_Button_Type.h @@ -34,7 +34,7 @@ public: Fl_Widget_Type *_make() FL_OVERRIDE { return new Fl_Button_Type(); } int is_button() const FL_OVERRIDE { return 1; } ID id() const FL_OVERRIDE { return ID_Button; } - bool is_a(ID inID) FL_OVERRIDE { return (inID==ID_Button) ? true : super::is_a(inID); } + bool is_a(ID inID) const FL_OVERRIDE { return (inID==ID_Button) ? true : super::is_a(inID); } }; extern Fl_Button_Type Fl_Button_type; |
