From 6ae09a206459b25b1d6069a96a07ccd4b8d70313 Mon Sep 17 00:00:00 2001 From: Andrea Gavana Date: Thu, 5 Sep 2024 14:42:07 +0200 Subject: [PATCH] Should fix #2364 Possible fix for #2364 --- wx/lib/agw/aui/framemanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wx/lib/agw/aui/framemanager.py b/wx/lib/agw/aui/framemanager.py index 6fc54511e..0c5f56433 100644 --- a/wx/lib/agw/aui/framemanager.py +++ b/wx/lib/agw/aui/framemanager.py @@ -9370,7 +9370,7 @@ def OnMotion_DragFloatingPane(self, eventOrPt): notebookRoot = GetNotebookRoot(self._panes, paneInfo.notebook_id) - if not notebookRoot or not notebookRoot.IsDocked(): + if not notebookRoot or not notebookRoot.IsDocked() or not notebookRoot.IsShown(): continue rc = paneInfo.window.GetScreenRect()