use WS_EX_CONTROLPARENT to ensure correct Alt-mnemonic handling with nested panels

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-06-03 23:00:28 +00:00
parent 93d394ae83
commit d515c32dc3

View File

@ -1163,6 +1163,11 @@ WXDWORD wxWindowMSW::MSWGetStyle(long flags, WXDWORD *exstyle) const
*exstyle |= WS_EX_DLGMODALFRAME;
break;
}
if ( flags & wxTAB_TRAVERSAL )
{
*exstyle |= WS_EX_CONTROLPARENT;
}
}
return style;