This commit was manufactured by cvs2svn to create tag
'wxPy_last_2_6_merge_point'. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/wxPy_last_2_6_merge_point@36829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -89,13 +89,13 @@ class TestPanel(wx.Panel):
|
||||
|
||||
|
||||
def OnRightLink(self, event):
|
||||
pos = event.GetPosition()
|
||||
pos = self._hyper3.GetPosition() + event.GetPosition()
|
||||
menuPopUp = wx.Menu("Having a nice day?")
|
||||
ID_MENU_YES = wx.NewId()
|
||||
ID_MENU_NO = wx.NewId()
|
||||
menuPopUp.Append(ID_MENU_YES, "Yes, absolutely!")
|
||||
menuPopUp.Append(ID_MENU_NO, "I've had better")
|
||||
self.PopupMenu(menuPopUp, self._hyper3.GetPosition())
|
||||
self.PopupMenu(menuPopUp)
|
||||
menuPopUp.Destroy()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user