wxbackend scroll_event troubles


on my macOSX (didn't check other
OS), canvas.mpl_connect('scroll_event',...) misses every other event when I
use mouse wheel
(wx.EVT_MOUSEWHEEL works fine and all mouse wheel are reported)

exemple code to illustrate the bug (feature?):
in right panel, all mouse wheel events are reported
in left panel (matplotlib panel), every other two event is missing

#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-#
import wx
import numpy
import matplotlib
import sys
from matplotlib.figure import Figure
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as

class TestFrame(wx.Frame):
    def __init__(self,parent,title):
        self.sp = wx.SplitterWindow(self)
        self.p1 = WxPanel(self.sp)
        self.p2 = MplPanel(self.sp)

class WxPanel(wx.Panel):
    def __init__(self, parent):
        wx.Panel.__init__(self, parent,-1,size=(50,50))

    def OnMouseWheel(self,event):
        print "wx scroll event"

class MplPanel(wx.Panel):
    def __init__(self, parent):
        wx.Panel.__init__(self, parent,-1,size=(50,50))
        self.figure = Figure()
        self.axes = self.figure.add_subplot(111)
        self.canvas = FigureCanvas(self,-1,self.figure)
        self.canvas.mpl_connect('scroll_event', self.OnMouseWheel)

    def OnMouseWheel(self,event):
        print "mpl scroll event"

app = wx.App(redirect=False)
frame = TestFrame(None, 'Hello World!')

any idea how to solve that behavior?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20151005/b37310b7/attachment-0001.html>