attempt to get button popup to work on mac

master
Keegi 2011-08-04 15:20:45 +03:00
parent 45df5ba110
commit e6f4f9dfb5
1 changed files with 1 additions and 1 deletions

View File

@ -707,7 +707,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
self.cbuttons_reload()
def editbutton(self,e):
if e.ButtonUp(wx.MOUSE_BTN_RIGHT):
if e.ButtonUp(wx.MOUSE_BTN_RIGHT) or (e.ButtonUp(wx.MOUSE_BTN_LEFT) and (e.AltDown() or e.ControlDown())):
pos = e.GetPosition()
popupmenu = wx.Menu()
obj = e.GetEventObject()