Add wxWindow::DisableFocusFromKeyboard()
This allows to easily exclude a window from the TAB chain. Closes https://github.com/wxWidgets/wxWidgets/pull/1516
This commit is contained in:
@@ -487,6 +487,17 @@ public:
|
||||
*/
|
||||
virtual bool AcceptsFocusRecursively() const;
|
||||
|
||||
/**
|
||||
Disable giving focus to this window using the keyboard navigation keys.
|
||||
|
||||
Pressing @c TAB key will skip this window if this function was called
|
||||
on it, but it will still be possible to focus it by clicking on it with
|
||||
a pointing device.
|
||||
|
||||
@since 3.1.4
|
||||
*/
|
||||
void DisableFocusFromKeyboard();
|
||||
|
||||
/**
|
||||
Can this window itself have focus?
|
||||
*/
|
||||
|
Reference in New Issue
Block a user