[wxpython-users] Binding to a single control
Raffaello Barella
barbarossa.platz at gmail.com
Sun Mar 30 09:19:45 PDT 2008
Is there a limit to the number of bindings we can make not to the frame but
to the single control?
To explain the sense of my question, I subclassed a wx.ComboBox, and inside
the class there's a self.Bind(wx.EVT_COMBOBOX...).
When using this subclass in an application, I put another myCombo.Bind(
wx.EVT_COMBOBOX...), and the binding did not work.
I replaced the second binding with a self.Bind(wx.EVT_COMBOBOX,
self.OnEVT_COMBOBOX, myCombo) and now it works.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200803=
30/d9bdea82/attachment-0001.htm
More information about the wxpython-users
mailing list