diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 001ff1f48b..e762e88e84 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -1164,10 +1164,16 @@ WXDWORD wxWindowMSW::MSWGetStyle(long flags, WXDWORD *exstyle) const break; } + // to make the dialog navigation work with the nested panels we must + // use this style but, unfortunately, it hangs NT4 in some situations + // so we shouldn't use it -- even though it means that keyboard accels + // in, e.g. wxWizard, don't work +#if 0 if ( flags & wxTAB_TRAVERSAL ) { *exstyle |= WS_EX_CONTROLPARENT; } +#endif // 0 } return style;