El 11/02/11 14:58, Ed Leafe escribió:
> fitToSizer() is a method, not an event handler. Remember, event
> handlers get passed an EventObject. In this case, the first parameter
> in fitToSizer() is 'extraWidth', which received the Hit event object.
>       You need to define an event handler, such as:
>
> def onFitToSizer(self, evt):
>       self.fitToSizer()
>
> ...and set the menu to fire that.

Thanks Ed, worked just fine.

_______________________________________________
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/[email protected]

Reply via email to