Additional menu code cleanup.
Some checks failed
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled

Better variable names,
More descriptive integer types.
This commit is contained in:
Matthias Melcher
2025-11-21 19:57:50 +01:00
parent 910c7d18eb
commit 56955a33a3
2 changed files with 216 additions and 197 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -228,12 +228,11 @@ void menu_location_cb(Fl_Widget* w, void* data)
smenubar = new Fl_Sys_Menu_Bar(0,0,0,30);
smenubar->menu(menu);
smenubar->callback(test_cb);
}
else { // switch to window menu bar
} else { // switch to window menu bar
menubar->copy(smenubar->menu());
delete smenubar;
menubar->show();
}
}
}
#endif // HAS_MAC_APP_MENU