wxPython - Running built in event prior to custom bound event
- by jhaukur
I'm trying to figure out how I can specify that the mouse_down event in wxPython (StyledTextCtrl) is first handled by the built in event listener, which changes the caret position, and then handled by my own custom event handler.
To bind the custom event handler I use
wx.EVT_LEFT_DOWN(self.styCtrl, self.OnMouseClick)
def OnMouseClick(self, evt):
evt.Skip()
foo()
I want the built in event handler to fire and complete prior to foo().