From: Václav Slavík Date: Sun, 7 Oct 2001 09:46:07 +0000 (+0000) Subject: reverted my previous check in, it was nonsense X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a08afcce1c9cae869f051be49c35bcfc8691ab57 reverted my previous check in, it was nonsense git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/univ/menu.cpp b/src/univ/menu.cpp index 4151a95236..46c328ebcb 100644 --- a/src/univ/menu.cpp +++ b/src/univ/menu.cpp @@ -2292,8 +2292,7 @@ void wxMenuBar::OnDismissMenu(bool dismissMenuBar) void wxMenuBar::OnDismiss() { - if ( GetCapture() ) - ReleaseMouse(); + ReleaseMouse(); if ( m_current != -1 ) {