]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed accelerators in wxGTK if NumLock is active (bug #723379)
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 1 Oct 2003 17:05:06 +0000 (17:05 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 1 Oct 2003 17:05:06 +0000 (17:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/accel.cpp

index 50a7f9faaa81fbceb98b002c56fa08babc2637d8..a50bed3218af14a6dee3ffc239ee58b6a076086e 100644 (file)
@@ -181,8 +181,7 @@ wxAcceleratorTable::GetEntry(const wxKeyEvent& event) const
             // now check flags
             if ( (((flags & wxACCEL_CTRL) != 0) == event.ControlDown()) &&
                  (((flags & wxACCEL_SHIFT) != 0) == event.ShiftDown()) &&
-                 (((flags & wxACCEL_ALT) != 0) ==
-                    (event.AltDown() || event.MetaDown())) )
+                 (((flags & wxACCEL_ALT) != 0) == event.AltDown()) )
             {
                 return entry;
             }