Skip wxChildFocusEvent in wxAuiNotebook handler.

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
This commit is contained in:
Vadim Zeitlin
2010-03-07 10:46:24 +00:00
parent 17dd0e0532
commit d4f4657af0

View 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