From 72631cf7e8e092b3c8585a8c5b9c2700a36fa7e7 Mon Sep 17 00:00:00 2001 From: Paul McCarthy Date: Tue, 30 May 2017 16:22:21 +0100 Subject: [PATCH] More suppression of ClientToScreen warning message --- wx/lib/agw/aui/framemanager.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wx/lib/agw/aui/framemanager.py b/wx/lib/agw/aui/framemanager.py index 5620987c..c47e35dc 100644 --- a/wx/lib/agw/aui/framemanager.py +++ b/wx/lib/agw/aui/framemanager.py @@ -2195,6 +2195,9 @@ class AuiDockingGuideWindow(wx.Window): :param `pos`: a :class:`wx.Point` mouse position. """ + if not self.GetTopLevelParent().IsShownOnScreen() and self.IsShownOnScreen(): + return + inside = self.GetScreenRect().Contains(pos) if inside: