From d1986068686082e568269b75c3423d1919c68602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 20 Dec 2007 18:32:55 +0000 Subject: [PATCH] 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/branches/WX_2_8_BRANCH@50863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/containr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/wx/containr.h b/include/wx/containr.h index 2b193dec5f..a2bd99a899 100644 --- a/include/wx/containr.h +++ b/include/wx/containr.h @@ -126,6 +126,7 @@ void classname::SetFocusIgnoringChildren() \ void classname::OnChildFocus(wxChildFocusEvent& event) \ { \ m_container.SetLastFocus(event.GetWindow()); \ + event.Skip(); \ } \ \ void classname::OnFocus(wxFocusEvent& event) \