From: Steve C. <stn...@xm...> - 2006-02-27 20:23:06
|
> Another question. I have an event handler basically like this one: > > def on_button_mouseClick(self, event): > make component xyz visible > self.SetCursor(wxHOURGLASS_CURSOR) > do something that takes some time > self.SetCursor(wxSTANDARD_CURSOR) > > Changing the mouse cursor works fine, but not making component xyz > visible (it will be only visible after the long operation when the event > is left again). How can I force PythonCard to redraw the component > immediately, so that it is visible already during the long operation? > > Any help is appreciated. Try wx.Yield() -Steve |