> > > statusOutput->value(message.c_str()); > > calcProgress->value(progress); > > paintView->redraw(); > > Fl::check(); > > Fl::flush(); > >=20 > > This code works perfectly on Windows, but has no effect on=20 > > MacOS X (10.5.x) with the latest snapshot. The window is=20 > > static, no controls are updated until the calculation has finished. > >=20 > > I am doing something wrong? Should I do something different? > > A few questions: > > - Are statusOutput and calcProgress children of paintView? I assume so, > or why else would you call redar on it... Best to check though.
Yes. > > - Is the code threaded? No. Calculations are done in the same thread calling the above routine regularly. > > Apart from that, I think it looks OK, so you may need to provide a > "working" example that manifests the fault... I can see what I can do. > > > > > SELEX Sensors and Airborne Systems Limited > Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex= > SS14 3EL > A company registered in England & Wales. Company no. 02426132 > ******************************************************************** > This email and any attachments are confidential to the intended > recipient and may also be privileged. If you are not the intended > recipient please delete it from your system and notify the sender. > You should not copy it or use it for any purpose nor disclose or > distribute its contents to any other person. > ******************************************************************** > _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

