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
This commit is contained in:
Stefan Csomor
2007-05-23 09:47:45 +00:00
parent a684b88f30
commit 4d5f003a08

View File

@@ -566,6 +566,7 @@ pascal OSStatus wxMacTopLevelMouseEventHandler( EventHandlerCallRef handler , Ev
if ( cEvent.GetKind() == kEventMouseDown )
{
::MenuSelect( screenMouseLocation ) ;
::HiliteMenu(0);
result = noErr ;
}
}