Hi,

Does pgSubUpdate() require the parents pghandle or the actual widget you 
want to update?
Is a pgSubUpdate on a label attached to the toolbar the same as 
pgUpdate() on the toolbar?

I found a problem when modifying lcdclock.c.  In sysIdle(), if 
pgFlushRequests() and pgUpdate are taken out,
and replaced by pgSubUpdate(wBigClock) and pgSubUpdate(wSmallClock), the 
clock does not get updated properly
(looks like the old label text is not cleared before the new text is 
rendered).  If you place the wBigClock and wSmallClock
in a PG_WIDGET_BOX, then do a pgSubUpdate on the box, the clock widgets 
repaint correctly.

Any ideas?

Marcus Smith



_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to