From a393f450dc992c9b37300b4a6255bf4e1c97ce69 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 17 Apr 2005 10:06:01 +0000 Subject: [PATCH] Temporary wxUniv menu fix from Michael Wetherell git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/univ/menu.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/univ/menu.cpp b/src/univ/menu.cpp index 8e3957ddf7..ba4e56b519 100644 --- a/src/univ/menu.cpp +++ b/src/univ/menu.cpp @@ -2146,6 +2146,9 @@ bool wxMenuBar::ProcessMouseEvent(const wxPoint& pt) return false; } + // FIXME: temporary workaround for crash, to be fixed + // in a later version. +#if 0 // select the new active item DoSelectMenu(currentNew); @@ -2156,6 +2159,7 @@ bool wxMenuBar::ProcessMouseEvent(const wxPoint& pt) // open the new menu if the old one we closed had been opened PopupCurrentMenu(false /* don't select first item - as Windows does */); } +#endif return true; } -- 2.45.2