From: Václav Slavík Date: Thu, 20 Dec 2007 18:30:38 +0000 (+0000) Subject: skip wxChildFocusEvent in WX_DELEGATE_TO_CONTROL_CONTAINER, so that other code can... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/57c5c10fb38799786fa8d8db7d69f1214c259e00 skip wxChildFocusEvent in WX_DELEGATE_TO_CONTROL_CONTAINER, so that other code can see the notification too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/containr.h b/include/wx/containr.h index 87ab324a28..710078dc0c 100644 --- a/include/wx/containr.h +++ b/include/wx/containr.h @@ -254,6 +254,7 @@ public: \ void classname::OnChildFocus(wxChildFocusEvent& event) \ { \ m_container.SetLastFocus(event.GetWindow()); \ + event.Skip(); \ } \ \ void classname::OnFocus(wxFocusEvent& event) \