mirror of
https://github.com/visualboyadvance-m/visualboyadvance-m
synced 2025-10-05 23:52:49 +02:00
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:
@@ -1828,10 +1828,10 @@ bool MainFrame::BindControls()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
// Remove UI Config menu item, because it only has an option that does nothing on mac.
|
// Remove hide menubar in the UI Config submenu on macOS, because it is meaningless there.
|
||||||
wxMenuItem* ui_config_mi = XRCITEM("UIConfigure");
|
wxMenuItem* hide_menu_bar = XRCITEM("HideMenuBar");
|
||||||
ui_config_mi->GetMenu()->Remove(ui_config_mi);
|
hide_menu_bar->GetMenu()->Remove(hide_menu_bar);
|
||||||
ui_config_mi = nullptr;
|
hide_menu_bar = nullptr;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user