diff options
| author | Matthias Melcher <github@matthiasm.com> | 2024-09-11 15:00:48 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2024-09-11 15:00:48 +0200 |
| commit | a7328d940bea760c0773d2889809217c82fa7081 (patch) | |
| tree | 94ac731239c760acaef9a099a9ac0a028d153a4e /fluid/Fl_Window_Type.h | |
| parent | 9b777cc01170a41ed33bb5f98223b8d7bbf5f2b8 (diff) | |
FLUID: Imporving method name `can_have_children()`
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 779c7b787..3b9a03e62 100644 --- a/fluid/Fl_Window_Type.h +++ b/fluid/Fl_Window_Type.h @@ -113,7 +113,7 @@ public: void move_child(Fl_Type*, Fl_Type*) FL_OVERRIDE; void remove_child(Fl_Type*) FL_OVERRIDE; - int is_parent() const FL_OVERRIDE {return 1;} + int can_have_children() const FL_OVERRIDE {return 1;} Fl_Widget *enter_live_mode(int top=0) FL_OVERRIDE; void leave_live_mode() FL_OVERRIDE; @@ -148,7 +148,7 @@ public: const char *type_name() FL_OVERRIDE {return "widget_class";} ID id() const FL_OVERRIDE { return ID_Widget_Class; } bool is_a(ID inID) const FL_OVERRIDE { return (inID==ID_Widget_Class) ? true : super::is_a(inID); } - int is_parent() const FL_OVERRIDE {return 1;} + int can_have_children() const FL_OVERRIDE {return 1;} int is_code_block() const FL_OVERRIDE {return 1;} int is_decl_block() const FL_OVERRIDE {return 1;} int is_class() const FL_OVERRIDE {return 1;} |
