From 9cb98d899582a69072a51a4c06199cebf625c039 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 2 Feb 2003 15:07:57 +0000 Subject: [PATCH] Applied patch [ 678788 ] Dialog command event propagation problem git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/wincmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index 65d02ccc85..2962b83ab4 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -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; -- 2.50.0