]> git.saurik.com Git - wxWidgets.git/commitdiff
reverted my previous check in, it was nonsense
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 7 Oct 2001 09:46:07 +0000 (09:46 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 7 Oct 2001 09:46:07 +0000 (09:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/univ/menu.cpp

index 4151a9523661e5aecb6d2dba9a4da71d0d41d63c..46c328ebcbe305816b0dba22a700496c3d665463 100644 (file)
@@ -2292,8 +2292,7 @@ void wxMenuBar::OnDismissMenu(bool dismissMenuBar)
 
 void wxMenuBar::OnDismiss()
 {
 
 void wxMenuBar::OnDismiss()
 {
-    if ( GetCapture() )
-        ReleaseMouse();
+    ReleaseMouse();
 
     if ( m_current != -1 )
     {
 
     if ( m_current != -1 )
     {