From 4d5f003a08b472db27e3da4d257fcb57a798bc65 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 23 May 2007 09:47:45 +0000 Subject: [PATCH] removing residual higlights in case the menu item was not handled at all (eg missing about handler) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/toplevel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index f1eeaf5f7d..e5a9019333 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -566,6 +566,7 @@ pascal OSStatus wxMacTopLevelMouseEventHandler( EventHandlerCallRef handler , Ev if ( cEvent.GetKind() == kEventMouseDown ) { ::MenuSelect( screenMouseLocation ) ; + ::HiliteMenu(0); result = noErr ; } }