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:
@@ -1163,6 +1163,11 @@ WXDWORD wxWindowMSW::MSWGetStyle(long flags, WXDWORD *exstyle) const
|
|||||||
*exstyle |= WS_EX_DLGMODALFRAME;
|
*exstyle |= WS_EX_DLGMODALFRAME;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( flags & wxTAB_TRAVERSAL )
|
||||||
|
{
|
||||||
|
*exstyle |= WS_EX_CONTROLPARENT;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return style;
|
return style;
|
||||||
|
Reference in New Issue
Block a user