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.



Um, yea, nevermind, got it.