Ed Leafe wrote: > On Jan 26, 2008, at 11:55 AM, johnf wrote: > >>> I was running my one of my forms and used the scroll wheel (just >>> nervous >>> fidgeting) and I got below. >>> >>> Traceback (most recent call last): >>> File "/home/johnf/downloads/dabo/dabo/ui/uiwx/dPemMixin.py", line >>> 550, in >>> __onWxMouseWheel >>> obj.raiseEvent(dEvents.MouseWheel, evt) >>> AttributeError: 'Window' object has no attribute 'raiseEvent' >> >> SUSE 10.3 python 2.5 wxPython 2.8.6.0 Latest SVN > > That doesn't make sense. Every window that has a __onWxMouseWheel() > handler should also have a rasiEvent() method.
The dPemMixin-based object received the wx MouseOver event, and determined the active object. The active object didn't happen to be a dabo object but a raw wxpython object (for some unknown reason). So calling obj.raiseEvent() failed. At least that's how I'm reading it. Paul -- http://paulmcnett.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]
