summaryrefslogtreecommitdiff
path: root/Source/Core/DebuggerWX/Src/CodeWindow.cpp
diff options
context:
space:
mode:
authorJohn Peterson <jpeterson57@gmail.com>2009-01-05 08:19:44 +0000
committerJohn Peterson <jpeterson57@gmail.com>2009-01-05 08:19:44 +0000
commit65590711e91223be0ccf4eba1cf430c44ca6ab15 (patch)
treec1ad995eea4525e17e68512a00a53999bdf0e0ac /Source/Core/DebuggerWX/Src/CodeWindow.cpp
parenta30d40692b9b4cf77b33bfec86a21d73889930c6 (diff)
CodeWindow: Added skip event
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1794 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/CodeWindow.cpp')
-rw-r--r--Source/Core/DebuggerWX/Src/CodeWindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/DebuggerWX/Src/CodeWindow.cpp b/Source/Core/DebuggerWX/Src/CodeWindow.cpp
index 3ec53471b9..41767464d3 100644
--- a/Source/Core/DebuggerWX/Src/CodeWindow.cpp
+++ b/Source/Core/DebuggerWX/Src/CodeWindow.cpp
@@ -967,6 +967,8 @@ void CCodeWindow::DoTip(wxString text)
// See the comment under BEGIN_EVENT_TABLE for an explanation of why we use both these events.
void CCodeWindow::OnStatusBar(wxMenuEvent& event)
{
+ event.Skip(); // This doesn't hurt right?
+
/* We assume the debug build user don't need to see this all the time. And these tooltips
may not be entirely stable. So we leave them out of debug builds. I could for example
get it to crash at wxWindowBase::DoHitTest(), that may be fixed in wxWidgets 2.9.0. */
@@ -976,6 +978,8 @@ void CCodeWindow::OnStatusBar(wxMenuEvent& event)
}
void CCodeWindow::OnStatusBar_(wxUpdateUIEvent& event)
{
+ event.Skip();
+
#if !defined(_DEBUG) || defined(DEBUGFAST)
// The IDM_ADDRBOX id seems to come with this outside the toolbar
if(event.GetId() != IDM_ADDRBOX) DoTip(wxEmptyString);