More suppression of ClientToScreen warning message

This commit is contained in:
Paul McCarthy
2017-05-30 16:22:21 +01:00
parent 01cee04596
commit 72631cf7e8

View File

@@ -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: