]> git.saurik.com Git - wxWidgets.git/commitdiff
use WS_EX_CONTROLPARENT to ensure correct Alt-mnemonic handling with nested panels
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 3 Jun 2002 23:00:28 +0000 (23:00 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 3 Jun 2002 23:00:28 +0000 (23:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index e088336c4dc5b98ae58addd1c2f11c9d4eab8e80..001ff1f48b4599108d86bc68f6dc2c37bcbf9a24 100644 (file)
@@ -1163,6 +1163,11 @@ WXDWORD wxWindowMSW::MSWGetStyle(long flags, WXDWORD *exstyle) const
                 *exstyle |= WS_EX_DLGMODALFRAME;
                 break;
         }
+
+        if ( flags & wxTAB_TRAVERSAL )
+        {
+            *exstyle |= WS_EX_CONTROLPARENT;
+        }
     }
 
     return style;