From: Julian Smart Date: Sun, 2 Feb 2003 15:07:57 +0000 (+0000) Subject: Applied patch [ 678788 ] Dialog command event propagation problem X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9cb98d899582a69072a51a4c06199cebf625c039 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 --- 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;