On Jan 8, 2014, at 9:45 AM, Werner <[email protected]> wrote: > Looking at pemmixin.__init__ I see: > > self._initEvents() > self._afterInit() > > dPemMixinBase.__init__(self) ## don't use super(), or wx init called > 2x. > > which would explain the issue no, dPemMixinBase is inheriting from dObject. > > Can I just change the order of these lines, i.e. move the > dPemMixinBase.__init up to before self._initEvents or does that cause other > issues?
It would seem to me that _afterInit() should be called after __init__(), no? That code is 8-10 years old, so I don't recall the specific issues in getting it working. I would try moving the _afterInit() down until just before the code that calls _afterInitAll() and see how it works. -- Ed Leafe _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
