]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/HyperLinkCtrl.py
added missing button state
[wxWidgets.git] / wxPython / demo / HyperLinkCtrl.py
index 601409eaf34ae0db18add9da477dd46679e5ec1a..8573b747856d8c57d7996e3d19e31ea796a4cb74 100644 (file)
@@ -95,7 +95,7 @@ class TestPanel(wx.Panel):
         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()