Refresh panels

wxgreg wrote:

Hi
I show a panel and move another at the beginning of a function, I call
Refresh() but the refresh doesn't occur till the function concludes, which
as a text control on one of the panels is supposed to tell the user what is
going on rather unsatisfactory.
How do I force a refresh?

Refresh() tells the system that a portion of a window, or all of it, needs to be repainted and asks that it send an event soon. Calling Update() causes the system to send that paint event right now. So calling both of them will give you an immediate refresh of the window.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!