HelloI try to drag a button with the mouse on a panel.It works fine on win7 (64bits) with wxpython 4.0.6. py3.7.3On Ubuntu 18.04--16.04 (64bits) with wxpython 4.0.6. GTK2 py3.5 or py3.6, a capturelost event appears, and after my script is out of control.Only alt+F4 can stop the script.
if I change the code like thisdef OnMouseDown(self, event):
self.btn.CaptureMouse()self.btn.ReleaseMouse()it works fine.How to avert this event ?
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wxPython-dev/b15a48f5-1eed-4d86-b959-c1c0b7f7b259%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello,I have the same problem when I drag with this widgets like buttoncheckboxchoicecomboboxFloatcanvasstc.StyledTextCtrl)imagebuttonlistboxnotebooktexctrlbut no problems with this widgetsbitmapconvascalendarThe file joined (checkbox.py) works fine on win7 64bits and wxpython 4.0.6.I have not seen a generic Checkbox.