]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied patch [ 678788 ] Dialog command event propagation problem
authorJulian Smart <julian@anthemion.co.uk>
Sun, 2 Feb 2003 15:07:57 +0000 (15:07 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 2 Feb 2003 15:07:57 +0000 (15:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/wincmn.cpp

index 65d02ccc85920b0fa2d07eaaa038a1215fa64dc8..2962b83ab413bee83fb9ab72a23fcb250775c506 100644 (file)
@@ -231,7 +231,7 @@ bool wxWindowBase::CreateBase(wxWindowBase *parent,
     // dialog/frame and all children will inherit it by defult
     if ( parent && (parent->GetExtraStyle() & wxWS_EX_VALIDATE_RECURSIVELY) )
     {
-        SetExtraStyle(wxWS_EX_VALIDATE_RECURSIVELY);
+        SetExtraStyle(GetExtraStyle() | wxWS_EX_VALIDATE_RECURSIVELY);
     }
 
     return TRUE;