Apparently wxPopupWindow position is not screen relative any longer

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2003-12-29 23:21:38 +00:00
parent 72d3f3166a
commit 122070e2a7

View File

@ -57,7 +57,7 @@ class TestPopup(wx.PopupWindow):
def OnMouseLeftDown(self, evt):
self.ldPos = evt.GetEventObject().ClientToScreen(evt.GetPosition())
self.wPos = self.GetPosition()
self.wPos = self.ClientToScreen((0,0))
self.CaptureMouse()
def OnMouseMotion(self, evt):