git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22139
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
node;
node = node->GetNext() )
{
node;
node = node->GetNext() )
{
- if ( node->GetData()->AcceptsFocus() )
+ wxWindow * const win = node->GetData();
+ if ( win->AcceptsFocus() &&
+ !(::GetWindowLong(GetHwndOf(win), GWL_EXSTYLE) &
+ WS_EX_CONTROLPARENT) )
{
// it shouldn't hang...
canSafelyCallIsDlgMsg = TRUE;
{
// it shouldn't hang...
canSafelyCallIsDlgMsg = TRUE;
if ( canSafelyCallIsDlgMsg )
{
if ( canSafelyCallIsDlgMsg )
{