X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f0db4f38504f7bc01f7bc2474243a4f6f84152a7..163f2606f82330354e01d30624158fca147a58b4:/wxPython/demo/wxPopupWindow.py?ds=sidebyside diff --git a/wxPython/demo/wxPopupWindow.py b/wxPython/demo/wxPopupWindow.py index 84d0199ba4..c4d163e9ff 100644 --- a/wxPython/demo/wxPopupWindow.py +++ b/wxPython/demo/wxPopupWindow.py @@ -34,9 +34,6 @@ class TestPopup(wxPopupWindow): def OnMouseLeftDown(self, evt): self.ldPos = evt.GetEventObject().ClientToScreen(evt.GetPosition()) -## if wxPlatform == "__WXMSW__": # this is weird... -## self.wPos = self.GetParent().ClientToScreen(self.GetPosition()) -## else: self.wPos = self.GetPosition() self.CaptureMouse()