mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
CodeWindow: Hide GetMenuBar()
This eliminates public usage of the GetMenuBar() function in CodeWindow. The benefit of this is it also gets rid of the need to perform direct access across the config dialog and the main frame. It also gets rid of the use of the main_frame global. GetMenuBar() will be removed entirely from CodeWindow in a follow-up that also removes any related remnants of code made obsolete with its removal.
This commit is contained in:
@ -241,6 +241,7 @@ private:
|
||||
void OnEnableMenuItemIfCoreUninitialized(wxUpdateUIEvent& event);
|
||||
void OnEnableMenuItemIfCorePaused(wxUpdateUIEvent& event);
|
||||
void OnEnableMenuItemIfCPUCanStep(wxUpdateUIEvent& event);
|
||||
void OnUpdateInterpreterMenuItem(wxUpdateUIEvent& event);
|
||||
|
||||
void OnOpen(wxCommandEvent& event); // File menu
|
||||
void DoOpen(bool Boot);
|
||||
|
Reference in New Issue
Block a user