summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-11-04 22:02:36 -0400
committerLioncash <mathew1800@gmail.com>2016-11-04 22:02:36 -0400
commit9543b9d20d3a4557ff6112e38e28cd2cdac16ac1 (patch)
tree44acfdf413d7e927a97dcf392aa9a03da005b12d /Source/Core/DolphinWX/Debugger/CodeWindow.cpp
parent07e3835a49f12ba8dcfc86db8ba0eff2e00b8f35 (diff)
CodeWindow: Rename GetMenuBar() to GetParentMenuBar()
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeWindow.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/CodeWindow.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
index a801d59e8b..c39efe0047 100644
--- a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
+++ b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
@@ -132,7 +132,7 @@ CCodeWindow::~CCodeWindow()
m_aui_manager.UnInit();
}
-wxMenuBar* CCodeWindow::GetMenuBar()
+wxMenuBar* CCodeWindow::GetParentMenuBar()
{
return Parent->GetMenuBar();
}
@@ -539,27 +539,27 @@ void CCodeWindow::OnJitMenu(wxCommandEvent& event)
// Shortcuts
bool CCodeWindow::UseInterpreter()
{
- return GetMenuBar()->IsChecked(IDM_INTERPRETER);
+ return GetParentMenuBar()->IsChecked(IDM_INTERPRETER);
}
bool CCodeWindow::BootToPause()
{
- return GetMenuBar()->IsChecked(IDM_BOOT_TO_PAUSE);
+ return GetParentMenuBar()->IsChecked(IDM_BOOT_TO_PAUSE);
}
bool CCodeWindow::AutomaticStart()
{
- return GetMenuBar()->IsChecked(IDM_AUTOMATIC_START);
+ return GetParentMenuBar()->IsChecked(IDM_AUTOMATIC_START);
}
bool CCodeWindow::JITNoBlockCache()
{
- return GetMenuBar()->IsChecked(IDM_JIT_NO_BLOCK_CACHE);
+ return GetParentMenuBar()->IsChecked(IDM_JIT_NO_BLOCK_CACHE);
}
bool CCodeWindow::JITNoBlockLinking()
{
- return GetMenuBar()->IsChecked(IDM_JIT_NO_BLOCK_LINKING);
+ return GetParentMenuBar()->IsChecked(IDM_JIT_NO_BLOCK_LINKING);
}
// Update GUI