Hey, 2010/8/30 E L <[email protected]>: > I noticed widgets that a bound in a WTemplate have their refresh() > method called twice when the WTemplate is refreshed. > > The refresh code in WTemplate.C first refreshes all widgets that are > bound and rendered, then it calls WInteractWidget::refresh(). The > call to the base class refresh() refreshes all children of the current > widget (the template). Since all widgets that are bound to a template > are also children, they get refreshed twice.
That's indeed a bug although it is not directly clear to me which of the two invocations to keep... probably the loop inside WTemplate::refresh() is not needed. Regards, koen ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
