mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +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):
|
def OnRightUp(self, event):
|
||||||
"""called when the right mouse button is released, will popup the menu"""
|
"""called when the right mouse button is released, will popup the menu"""
|
||||||
pt = event.GetPosition()
|
self.PopupMenu(self.menu)
|
||||||
self.PopupMenu(self.menu, pt)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user