diff --git a/include/wx/event.h b/include/wx/event.h index 06cd01f28b..6be32bc266 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -1519,7 +1519,7 @@ enum wxKeyCategoryFlags // home and end keys, on and off numeric keypads WXK_CATEGORY_JUMP = 4, - // tab key + // tab key, on and off numeric keypads WXK_CATEGORY_TAB = 8, // backspace and delete keys, on and off numeric keypads diff --git a/interface/wx/event.h b/interface/wx/event.h index b934e0e9b0..9ac341c576 100644 --- a/interface/wx/event.h +++ b/interface/wx/event.h @@ -1102,7 +1102,7 @@ enum wxKeyCategoryFlags /// home and end keys, on and off numeric keypads WXK_CATEGORY_JUMP, - /// tab key + /// tab key, on and off numeric keypads WXK_CATEGORY_TAB, /// backspace and delete keys, on and off numeric keypads diff --git a/src/common/event.cpp b/src/common/event.cpp index 658f7523af..4dd9eaeaa4 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -779,6 +779,7 @@ bool wxKeyEvent::IsKeyInCategory(int category) const return (category & WXK_CATEGORY_JUMP) != 0; case WXK_TAB: + case WXK_NUMPAD_TAB: return (category & WXK_CATEGORY_TAB) != 0; case WXK_BACK: