I’m trying to bind the mouse wheel to my StyleTextCtrl widget but when I scroll the mouse wheel it doesn’t fire the event.
self.richtext = wx.stc.StyledTextCtrl(self, style=wx.TE_MULTILINE)
self.richtext.Bind(wx.EVT_SCROLL_CHANGED, self.update_line_numbers())