summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/CodeWindow.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-11-03 23:43:35 -0400
committerLioncash <mathew1800@gmail.com>2016-11-04 00:09:47 -0400
commit5d4c714662f4bf9e4ef025b85ffd96331e265724 (patch)
tree23845e976797b13d596b581b2c593e9735a7e509 /Source/Core/DolphinWX/Debugger/CodeWindow.h
parent5ae6c21c2e2537859ff4473b131c4d2f9f2a6e0b (diff)
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.
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeWindow.h')
-rw-r--r--Source/Core/DolphinWX/Debugger/CodeWindow.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeWindow.h b/Source/Core/DolphinWX/Debugger/CodeWindow.h
index 78b51495d9..e320d9ff39 100644
--- a/Source/Core/DolphinWX/Debugger/CodeWindow.h
+++ b/Source/Core/DolphinWX/Debugger/CodeWindow.h
@@ -83,9 +83,6 @@ public:
void Load();
void Save();
- // Parent interaction
- wxMenuBar* GetMenuBar();
-
bool UseInterpreter();
bool BootToPause();
bool AutomaticStart();
@@ -97,7 +94,6 @@ public:
void NotifyMapLoaded();
void OpenPages();
- // Menu bar
// FIXME: This belongs in a separate class.
void TogglePanel(int id, bool show);
wxPanel* GetUntypedPanel(int id) const;
@@ -127,6 +123,9 @@ public:
int iNbAffiliation[IDM_DEBUG_WINDOW_LIST_END - IDM_DEBUG_WINDOW_LIST_START];
private:
+ // Parent interaction
+ wxMenuBar* GetMenuBar();
+
void OnCPUMode(wxCommandEvent& event);
void OnChangeFont(wxCommandEvent& event);