From: Vadim Zeitlin Date: Tue, 4 Jun 2002 08:58:36 +0000 (+0000) Subject: undid WS_EX_CONTROLPARENT change -- I recall now why we can't use it X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5b9c12e124ff54997af68fb4f1b5e146592452b6 undid WS_EX_CONTROLPARENT change -- I recall now why we can't use it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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;