summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2024-08-31 19:15:23 +0200
committerMatthias Melcher <github@matthiasm.com>2024-08-31 19:15:23 +0200
commite01c9ff6a03f3775e0d93a56d671a8c2f8cf96a2 (patch)
treefb247a5fa3d4d151fecfae77118ee7e116b94266 /fluid
parentc8b8eb4b840bc612f2f2160a8b2cc27f030c5785 (diff)
Linux fixes for previous commit
Diffstat (limited to 'fluid')
-rw-r--r--fluid/Fl_Group_Type.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/fluid/Fl_Group_Type.cxx b/fluid/Fl_Group_Type.cxx
index cf7a124a4..61e4332a9 100644
--- a/fluid/Fl_Group_Type.cxx
+++ b/fluid/Fl_Group_Type.cxx
@@ -100,14 +100,14 @@ void group_cb(Fl_Widget *, void *) {
fl_message("Only widgets and menu items can be grouped.");
return;
}
- if (Fl_Type::current->is_a(ID::ID_Menu_Item)) {
+ if (Fl_Type::current->is_a(ID_Menu_Item)) {
group_selected_menuitems();
return;
}
// The group will be created in the parent group of the current widget
Fl_Type *qq = Fl_Type::current->parent;
Fl_Widget_Type *q = static_cast<Fl_Widget_Type*>(Fl_Type::current);
- while (qq && !qq->is_a(ID::ID_Group)) {
+ while (qq && !qq->is_a(ID_Group)) {
qq = qq->parent;
}
if (!qq) {
@@ -148,7 +148,7 @@ void ungroup_cb(Fl_Widget *, void *) {
fl_message("Only widgets and menu items can be ungrouped.");
return;
}
- if (Fl_Type::current->is_a(ID::ID_Menu_Item)) {
+ if (Fl_Type::current->is_a(ID_Menu_Item)) {
ungroup_selected_menuitems();
return;
}