wxWizardPageSimple paint delayed?

Dave Bee davebeeus at yahoo.com
Thu Dec 7 17:10:57 PST 2006


--- Vadim Zeitlin <vadim at wxwindows.org> wrote:
> 
> You need to play asynchronously, otherwise the
> program execution is blocked until playing finishes.
> I don't know if you use wxSound to play
> music but if you do, doing this is just a matter of
> passing the appropriate flag to Play().
> 

Thank you, Vadim. That is what I suspected - I just
wanted to verify that indeed there is no solution to
the problem (other than playing asynchronously). I
even moved the music playing code from immediately
after ShowPage(page1) and Show() to a different
OnPlayMusak() custom event handler (the event is
posted using wxPostEvent()) - to no avail.

I wonder what makes wxWizardPageSimple's paint
delayed. The interesting thing is that not all of it
is delayed - just the buttons, text and buttons.
Strange.

Anyway, you have just suggested a good workaround that
I can use and I thank you for that.

Dave


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com




More information about the wx-users mailing list