]> git.saurik.com Git - wxWidgets.git/commitdiff
undid WS_EX_CONTROLPARENT change -- I recall now why we can't use it
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Jun 2002 08:58:36 +0000 (08:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Jun 2002 08:58:36 +0000 (08:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index 001ff1f48b4599108d86bc68f6dc2c37bcbf9a24..e762e88e84693d3b6405a720b7aa54cc09b0b300 100644 (file)
@@ -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;