Python/wxPython - Refreshing Controls

Python Users -

I have a wxPython GUI that performs some mathmatical processing. The processing is initialized by a button press, which creates an instance of a class (with all the processing code contained in the def init of the class). While the processing is going on I write out messages to a wxTextCtrl control. My problem is that the wxTextCtrl doesn’t refresh until after all the init code is finished. How can I force it to refresh after each new message?

I tried the Refresh and Update methods of the wxWindow class (applied to all the relevant controls ie the text control, the notebook, and the window) but it didn’t have any effect.

Thanks.

LarsenMTL

Um, yea, nevermind, got it.

http://wiki.wxpython.org/index.cgi/LongRunningTasks?action=highlight&value=running