mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
GUI: Linux problem, wxAuiNotebook can't have wxFrame pages
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4133 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -365,10 +365,18 @@ void CCodeWindow::OnToggleBreakPointWindow(bool Show, int i)
|
||||
if (Show)
|
||||
{
|
||||
if (!m_BreakpointWindow) m_BreakpointWindow = new CBreakPointWindow(this, Parent);
|
||||
#ifdef _WIN32
|
||||
Parent->DoAddPage(m_BreakpointWindow, i, "Breakpoints");
|
||||
#else
|
||||
m_BreakpointWindow->Show();
|
||||
#endif
|
||||
}
|
||||
else // hide
|
||||
#ifdef _WIN32
|
||||
Parent->DoRemovePage(m_BreakpointWindow);
|
||||
#else
|
||||
if (m_BreakpointWindow) m_BreakpointWindow->Hide();
|
||||
#endif
|
||||
}
|
||||
|
||||
void CCodeWindow::OnToggleJitWindow(bool Show, int i)
|
||||
@ -376,10 +384,18 @@ void CCodeWindow::OnToggleJitWindow(bool Show, int i)
|
||||
if (Show)
|
||||
{
|
||||
if (!m_JitWindow) m_JitWindow = new CJitWindow(Parent);
|
||||
#ifdef _WIN32
|
||||
Parent->DoAddPage(m_JitWindow, i, "JIT");
|
||||
#else
|
||||
m_JitWindow->Show();
|
||||
#endif
|
||||
}
|
||||
else // hide
|
||||
#ifdef _WIN32
|
||||
Parent->DoRemovePage(m_JitWindow);
|
||||
#else
|
||||
if (m_JitWindow) m_JitWindow->Hide();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@ -388,10 +404,18 @@ void CCodeWindow::OnToggleMemoryWindow(bool Show, int i)
|
||||
if (Show)
|
||||
{
|
||||
if (!m_MemoryWindow) m_MemoryWindow = new CMemoryWindow(Parent);
|
||||
#ifdef _WIN32
|
||||
Parent->DoAddPage(m_MemoryWindow, i, "Memory");
|
||||
#else
|
||||
m_MemoryWindow->Show();
|
||||
#endif
|
||||
}
|
||||
else // hide
|
||||
#ifdef _WIN32
|
||||
Parent->DoRemovePage(m_MemoryWindow);
|
||||
#else
|
||||
if (m_MemoryWindow) m_MemoryWindow->Hide();
|
||||
#endif
|
||||
}
|
||||
|
||||
//Toggle Sound Debugging Window
|
||||
|
Reference in New Issue
Block a user