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:
parent
653eafdf4f
commit
cea43339ac
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user