mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-15 17:20:07 +01:00
Use default position for PopupMenu in samples.doodle.doodle.DoodleWindow
This commit is contained in:
@@ -158,8 +158,7 @@ class DoodleWindow(wx.Window):
|
||||
|
||||
def OnRightUp(self, event):
|
||||
"""called when the right mouse button is released, will popup the menu"""
|
||||
pt = event.GetPosition()
|
||||
self.PopupMenu(self.menu, pt)
|
||||
self.PopupMenu(self.menu)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user