From 65590711e91223be0ccf4eba1cf430c44ca6ab15 Mon Sep 17 00:00:00 2001 From: John Peterson Date: Mon, 5 Jan 2009 08:19:44 +0000 Subject: [PATCH] CodeWindow: Added skip event git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1794 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DebuggerWX/Src/CodeWindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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);