A bit of cleanup and etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -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()
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user