diff --git a/src/generic/accel.cpp b/src/generic/accel.cpp index 50a7f9faaa..a50bed3218 100644 --- a/src/generic/accel.cpp +++ b/src/generic/accel.cpp @@ -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; }