]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/window.cpp
compilation fix (for !PCH)
[wxWidgets.git] / src / msw / window.cpp
index e088336c4dc5b98ae58addd1c2f11c9d4eab8e80..e762e88e84693d3b6405a720b7aa54cc09b0b300 100644 (file)
@@ -1163,6 +1163,17 @@ WXDWORD wxWindowMSW::MSWGetStyle(long flags, WXDWORD *exstyle) const
                 *exstyle |= WS_EX_DLGMODALFRAME;
                 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;