fixed accelerators in wxGTK if NumLock is active (bug #723379)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2003-10-01 17:05:06 +00:00
parent 653eafdf4f
commit cea43339ac

View 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;
}