I've found putting a wxYield() or two in the time consuming loop works fine. It allows the gui thread to catch up with events. If you only have one function you can't
break up any farther you will have to make another thread I suppose.
-Mike
···
--__--__--
Message: 7
From: Rafael Spyra <RSpyra@dspace.de>
To: wxpython-users@wxwindows.org
Date: Tue, 5 Sep 2000 11:03:54 +0100
Subject: [wxPython] refresh wxPython dialog??
Reply-To: wxpython-users@wxwindows.org
Hello,
I am using a wxPython dialog which starts a time consuming function (ca. 1-3
min.).
At this time the dialog do not refresh any controls, e.g. wxTextCtrl!!
How can I refresh this controls and make sure, that the cancel-button works
every time???
Have anybody an idea??
Regards
Rafael