When overriding the OnEndDragLeft method in wxShapeEvtHandler, something
strange happens to my application; Everything exept from the canvas stoppes
working (eg. buttons and the menubar are not clickable). To solve this I
have to jump to another window and then jump back to my python application.
Is there anything I need to do in OnEndDragLeft to make this not happen?
When overriding the OnEndDragLeft method in wxShapeEvtHandler, something
strange happens to my application; Everything exept from the canvas stoppes
working (eg. buttons and the menubar are not clickable). To solve this I
have to jump to another window and then jump back to my python application.
Is there anything I need to do in OnEndDragLeft to make this not happen?
It may have the mouse captured and the default method releases it. You could try calling canvas.ReleaseMouse to see if that will take care of it. Otherwise, you can call the base class version of OnEndDragLeft using base_OnEndDragLeft.
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
It may have the mouse captured and the default method releases it. You
could try calling canvas.ReleaseMouse to see if that will take care of
it. Otherwise, you can call the base class version of OnEndDragLeft
using base_OnEndDragLeft.