]> git.saurik.com Git - wxWidgets.git/commitdiff
Skip wxChildFocusEvent in wxAuiNotebook handler.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Mar 2010 10:46:24 +0000 (10:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 Mar 2010 10:46:24 +0000 (10:46 +0000)
There doesn't seem to be any good reason to eat the event in this handler,
leave it for the others if needed.

See #11785.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/auibook.cpp

index 379f0d61ba2a42c36039ab66b35351fd8f354e5d..b3b443f62a829f3e532f5461dcaa79a52c8274b7 100644 (file)
@@ -4158,6 +4158,8 @@ void wxAuiNotebook::RemoveEmptyTabFrames()
 
 void wxAuiNotebook::OnChildFocusNotebook(wxChildFocusEvent& evt)
 {
+    evt.Skip();
+
     // if we're dragging a tab, don't change the current selection.
     // This code prevents a bug that used to happen when the hint window
     // was hidden.  In the bug, the focus would return to the notebook