X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17dd0e0532a2984951f05c9261b0f897025c58c6..b79aa5000fef6952836829a48f3ef060b9c10594:/src/aui/auibook.cpp?ds=sidebyside diff --git a/src/aui/auibook.cpp b/src/aui/auibook.cpp index 379f0d61ba..b3b443f62a 100644 --- a/src/aui/auibook.cpp +++ b/src/aui/auibook.cpp @@ -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