diff options
| author | skidau <skidau@gmail.com> | 2015-03-07 12:33:33 +1100 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2015-03-07 12:33:33 +1100 |
| commit | 12155ddee45588b2d17a36e0ac037b2d79349e8c (patch) | |
| tree | 28af5919ed995cc0b1ae6b49c7a2dfa4a5721805 /Source/Core/DolphinWX/Debugger/CodeWindow.cpp | |
| parent | a3f6cbfe6b6320439ea1770ccd6704048eb06c69 (diff) | |
Added the ability to split the Debugger window horizontally and vertically via the Add Panes menu.
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Debugger/CodeWindow.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp index 8c7bbb4927..23f4d5c989 100644 --- a/Source/Core/DolphinWX/Debugger/CodeWindow.cpp +++ b/Source/Core/DolphinWX/Debugger/CodeWindow.cpp @@ -510,7 +510,13 @@ void CCodeWindow::CreateMenu(const SCoreStartupParameter& core_startup_parameter pPerspectives->AppendSubMenu(Parent->m_SavedPerspectives, _("Saved perspectives")); Parent->PopulateSavedPerspectives(); pPerspectives->AppendSeparator(); - pPerspectives->Append(IDM_PERSPECTIVES_ADD_PANE, _("Add new pane")); + wxMenu* pAddPane = new wxMenu; + pPerspectives->AppendSubMenu(pAddPane, _("Add new pane to")); + pAddPane->Append(IDM_PERSPECTIVES_ADD_PANE_TOP, _("Top")); + pAddPane->Append(IDM_PERSPECTIVES_ADD_PANE_BOTTOM, _("Bottom")); + pAddPane->Append(IDM_PERSPECTIVES_ADD_PANE_LEFT, _("Left")); + pAddPane->Append(IDM_PERSPECTIVES_ADD_PANE_RIGHT, _("Right")); + pAddPane->Append(IDM_PERSPECTIVES_ADD_PANE_CENTER, _("Center")); pPerspectives->Append(IDM_TAB_SPLIT, _("Tab split"), "", wxITEM_CHECK); pPerspectives->Append(IDM_NO_DOCKING, _("Disable docking"), "Disable docking of perspective panes to main window", wxITEM_CHECK); |
