Make WXK_NUMPAD_TAB member of WXK_CATEGORY_TAB.
See #10268. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user