Hi Jeff,

Did you try a timer (if your computation can be splitted) or a thread ?
http://docs.wxwidgets.org/2.8.10/wx_wxthread.html#wxthread

Kind regards,

Jean-Philippe

-----Original Message-----
From: Steffen Schuldenzucker [mailto:sschuldenzuc...@uni-bonn.de] 
Sent: Friday, September 10, 2010 10:19 PM
To: wxperl-users@perl.org
Subject: Re: How can I create a "please wait" popup


Hi Jeff,

On 09/10/2010 06:24 PM, per...@maine.rr.com wrote:
> 
> I'm trying create a "please wait" popup while the app is busy. I want a 
> custom popup so the Busyinfo isn't what I want.  Unfortunately, when I use a 
> wxdialog with a panel and label ( statictext ) the text does not get painted 
> until the app is no longer busy, so it sort of defeats the purpose. Tried to 
> force repaint with ->Update on both the dialog and the panel but doesn't seem 
> to work. Sure I'm missing something obvious, but could someone please help. 
> Thanks.
> 
> Jeff

Maybe you want wxApp->Yield ?

http://docs.wxwidgets.org/2.8.10/wx_wxapp.html#wxappyield

(Disclaimer: I haven't tried this myself yet)

-- Steffen

Reply via email to