mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
GUI: Moved debugging window to AUI, more AUI improvements to be done
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4052 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
984988c5d3
commit
b01b7c78a5
24 changed files with 3624 additions and 404 deletions
|
@ -122,7 +122,6 @@ void CCodeWindow::CreateSymbolsMenu()
|
|||
}
|
||||
|
||||
|
||||
|
||||
void CCodeWindow::OnProfilerMenu(wxCommandEvent& event)
|
||||
{
|
||||
if (Core::GetState() == Core::CORE_RUN) {
|
||||
|
@ -311,15 +310,11 @@ void CCodeWindow::OnSymbolListContextMenu(wxContextMenuEvent& event)
|
|||
|
||||
void CCodeWindow::OnToggleRegisterWindow(wxCommandEvent& event)
|
||||
{
|
||||
bool show = GetMenuBar()->IsChecked(event.GetId());
|
||||
bool Show = GetMenuBar()->IsChecked(event.GetId());
|
||||
|
||||
if (show)
|
||||
if (Show)
|
||||
{
|
||||
if (!m_RegisterWindow)
|
||||
{
|
||||
m_RegisterWindow = new CRegisterWindow(this);
|
||||
}
|
||||
|
||||
if (!m_RegisterWindow) m_RegisterWindow = new CRegisterWindow(this);
|
||||
m_RegisterWindow->Show(true);
|
||||
}
|
||||
else // hide
|
||||
|
@ -329,11 +324,7 @@ void CCodeWindow::OnToggleRegisterWindow(wxCommandEvent& event)
|
|||
// It should be true just after the menu item was selected,
|
||||
// if there was no modeless dialog yet.
|
||||
wxASSERT(m_RegisterWindow != NULL);
|
||||
|
||||
if (m_RegisterWindow)
|
||||
{
|
||||
m_RegisterWindow->Hide();
|
||||
}
|
||||
if (m_RegisterWindow) m_RegisterWindow->Hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue