Skip to content

Commit

Permalink
Use default position for PopupMenu in wx.lib.agw.hyperlink.HyperLinkCtrl
Browse files Browse the repository at this point in the history
  • Loading branch information
topic2k committed Oct 23, 2019
1 parent 90c355c commit 6179bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wx/lib/agw/hyperlink.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def OnMouseEvent(self, event):
menuPopUp = wx.Menu("", wx.MENU_TEAROFF)
menuPopUp.Append(wxHYPERLINKS_POPUP_COPY, "Copy HyperLink")
self.Bind(wx.EVT_MENU, self.OnPopUpCopy, id=wxHYPERLINKS_POPUP_COPY)
self.PopupMenu(menuPopUp, wx.Point(event.x, event.y))
self.PopupMenu(menuPopUp)
menuPopUp.Destroy()
self.Unbind(wx.EVT_MENU, id=wxHYPERLINKS_POPUP_COPY)

Expand Down

0 comments on commit 6179bc0

Please sign in to comment.