diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-07-17 20:40:55 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-07-17 20:41:04 +0200 |
| commit | 2279f85824b0f13eb47ef79459937c47c1f295c1 (patch) | |
| tree | 24ada40294007afa985ca67d35ec9b82060ce7b7 /fluid/Fl_Window_Type.h | |
| parent | 9bdc7139daef8d9dc7b7e06503cd810d44b6d69c (diff) | |
FLUID: restores g++98 compatibility
I want enum classes, sigh.
Diffstat (limited to 'fluid/Fl_Window_Type.h')
| -rw-r--r-- | fluid/Fl_Window_Type.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fluid/Fl_Window_Type.h b/fluid/Fl_Window_Type.h index 3e662f076..5d232217d 100644 --- a/fluid/Fl_Window_Type.h +++ b/fluid/Fl_Window_Type.h @@ -70,7 +70,7 @@ protected: Fl_Widget *widget(int,int,int,int) FL_OVERRIDE {return 0;} int recalc; // set by fix_overlay() void moveallchildren(); - ID id() const FL_OVERRIDE { return ID::Window; } + ID id() const FL_OVERRIDE { return ID_Window; } void open_(); public: @@ -142,7 +142,7 @@ public: void write_code2(Fd_Code_Writer& f) FL_OVERRIDE; Fl_Type *make(Strategy strategy) FL_OVERRIDE; const char *type_name() FL_OVERRIDE {return "widget_class";} - ID id() const FL_OVERRIDE { return ID::Widget_Class; } + ID id() const FL_OVERRIDE { return ID_Widget_Class; } int is_parent() const FL_OVERRIDE {return 1;} int is_code_block() const FL_OVERRIDE {return 1;} int is_decl_block() const FL_OVERRIDE {return 1;} |
