Sorry for this mail : I finally solved it by capuring mouse *to the parent
panel* :
with self.CaptureMouse() instead of  self.Canvas.CaptureMouse(), I don't
get this crash anymore.

Problem closed :)

Jo


2014-03-04 18:00 GMT+01:00 Nouvelle Collection <[email protected]
>:

> Hello Chris,
>
> Thanks for your answer.
>
> 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?
>
> 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.
>
> Best regards, Jo
>
>
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mailman.paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to