Enable Hide Status Bar in UI Settings for macOS

Enable Hide Status Bar in UI Settings for macOS, it was previously
missing because the whole UI Settings submenu was removed on macOS.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Rafael Kitover 2025-04-22 05:29:51 +00:00
parent 6a9eeeaece
commit eb26ec2ef6
No known key found for this signature in database
GPG Key ID: 08AB596679D86240
1 changed files with 4 additions and 4 deletions

View File

@ -1828,10 +1828,10 @@ bool MainFrame::BindControls()
#endif
#ifdef __WXMAC__
// Remove UI Config menu item, because it only has an option that does nothing on mac.
wxMenuItem* ui_config_mi = XRCITEM("UIConfigure");
ui_config_mi->GetMenu()->Remove(ui_config_mi);
ui_config_mi = nullptr;
// Remove hide menubar in the UI Config submenu on macOS, because it is meaningless there.
wxMenuItem* hide_menu_bar = XRCITEM("HideMenuBar");
hide_menu_bar->GetMenu()->Remove(hide_menu_bar);
hide_menu_bar = nullptr;
#endif