diff options
| author | Glenn Rice <glennricster@gmail.com> | 2011-01-31 14:25:50 +0000 |
|---|---|---|
| committer | Glenn Rice <glennricster@gmail.com> | 2011-01-31 14:25:50 +0000 |
| commit | ad71303007767bb5f536406708c316de798db024 (patch) | |
| tree | 9afb3a130e22baf1d0c74eb73a204d0d2b81ada9 /Source/Core/DebuggerWX/Src/DSPDebugWindow.cpp | |
| parent | 47d182657e56da0c708daf8bf2197ec6a1fefd4d (diff) | |
Fix the DSPLLE debugger window refresh without including wxWidgets in the core.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7020 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/DSPDebugWindow.cpp')
| -rw-r--r-- | Source/Core/DebuggerWX/Src/DSPDebugWindow.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/Core/DebuggerWX/Src/DSPDebugWindow.cpp b/Source/Core/DebuggerWX/Src/DSPDebugWindow.cpp index 2b29ae95ed..3fa6fca313 100644 --- a/Source/Core/DebuggerWX/Src/DSPDebugWindow.cpp +++ b/Source/Core/DebuggerWX/Src/DSPDebugWindow.cpp @@ -153,9 +153,15 @@ void DSPDebuggerLLE::OnChangeState(wxCommandEvent& event) m_mgr.Update(); } +void Host_RefreshDSPDebuggerWindow() +{ + if (m_DebuggerFrame) + m_DebuggerFrame->Refresh(); +} + void DSPDebuggerLLE::Refresh() { -#if defined HAVE_X11 && HAVE_X11 +#if defined __WXGTK__ if (!wxIsMainThread()) wxMutexGuiEnter(); #endif @@ -164,7 +170,7 @@ void DSPDebuggerLLE::Refresh() UpdateRegisterFlags(); UpdateState(); m_mgr.Update(); -#if defined HAVE_X11 && HAVE_X11 +#if defined __WXGTK__ if (!wxIsMainThread()) wxMutexGuiLeave(); #endif |
