Thanks! I'll investigate on this.
2014-03-04 18:28 GMT+01:00 Chris Barker <[email protected]>: > On Tue, Mar 4, 2014 at 9:00 AM, Nouvelle Collection < > [email protected]> wrote: > >> I recently noticed that, even with : >> >> if self.Canvas.HasCapture(): >>> self.Canvas.ReleaseMouse() >> >> >> ...I get a crash of my application when the mouse is captured, and the >> mouse goes *outside* the app. >> >> Have you ever experienced this too? >> > > no -- this is odd, but I"d guess it is something being out of sync with > Mouse events and Capturing.. > > >> I'm sure not if I should use wx.MouseCaptureLostEvent, and if so, do you >> have an example showing how to use it ? I already read >> http://www.wxpython.org/docs/api/wx.MouseCaptureLostEvent-class.html, >> but I'm not sure how to implement it. >> >> > Yes, that does sound like what you need -- but no, I don't have an > example. I don't think that existed back when I was first working with this > stuff. I may take a look, but in the meantime, I'd try making a > simple-as-possible example, and see if it crashes, and if so, and you can't > figure out wx.MouseCaptureLostEvent, post a question to the wxPython list. > I don't think this is FloatCanvas specific. > > -Chris > > > > > > -- > > Christopher Barker, Ph.D. > Oceanographer > > Emergency Response Division > NOAA/NOS/OR&R (206) 526-6959 voice > 7600 Sand Point Way NE (206) 526-6329 fax > Seattle, WA 98115 (206) 526-6317 main reception > > [email protected] > > _______________________________________________ > FloatCanvas mailing list > [email protected] > http://mailman.paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas > >
_______________________________________________ FloatCanvas mailing list [email protected] http://mailman.paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas
