don't allow TAB-bing away to other TLWs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -496,6 +496,14 @@ void wxControlContainer::HandleOnNavigationKey( wxNavigationKeyEvent& event )
|
|||||||
|
|
||||||
wxWindow *child = node->GetData();
|
wxWindow *child = node->GetData();
|
||||||
|
|
||||||
|
// don't TAB to another TLW
|
||||||
|
if ( child->IsTopLevel() )
|
||||||
|
{
|
||||||
|
node = forward ? node->GetNext() : node->GetPrevious();
|
||||||
|
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
#if defined(__WXMSW__) && wxUSE_RADIOBTN
|
#if defined(__WXMSW__) && wxUSE_RADIOBTN
|
||||||
if ( event.IsFromTab() )
|
if ( event.IsFromTab() )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user