Re: [Matplotlib-users] Nasty mouse event problem with wxPython

2010-05-07 Thread Matt Newville
Hi Soren, 2010/5/6 Søren Nielsen : > Thanks Matt, > > The wx.ReleaseMouse() event when called before the wx.MessageBox also works > great. > > I have a similar problem when I want to make a popup menu after the user has > clicked on a patch (through the pick event) .. it works on Windows but the >

Re: [Matplotlib-users] Nasty mouse event problem with wxPython

2010-05-03 Thread Matt Newville
Hi Stefan, > I've hit a problem when using the button_press_event to pop up a > wx.MessageBox. After the messagebox is loaded the mouse becomes completely > unresponsive (even outside the application) until the application is shut > down (by using ALT+F4). I'm making a feature where the user, aft

Re: [Matplotlib-users] Nasty mouse event problem with wxPython

2010-05-03 Thread Michael Droettboom
I don't know why this happens, but did note that using a "button_release_event" instead seems to work fine. Mike Søren Nielsen wrote: > Hi, > > I've hit a problem when using the button_press_event to pop up a > wx.MessageBox. After the messagebox is loaded the mouse becomes > completely unresp

[Matplotlib-users] Nasty mouse event problem with wxPython

2010-05-03 Thread Søren Nielsen
Hi, I've hit a problem when using the button_press_event to pop up a wx.MessageBox. After the messagebox is loaded the mouse becomes completely unresponsive (even outside the application) until the application is shut down (by using ALT+F4). I'm making a feature where the user, after right clickin