I have some code that updates the color portion of a radiobutton and a few lines later updates the text. I put calls to update and repaint (e.g rb->repaint) after each object update. the color updates but is takes a while for the text to update.

How to I perform an immediate refresh on my object ao that there isn't a delay in the display.