Disabling wxWizard buttons
Fabian Cenedese
Cenedese at indel.ch
Fri Jun 22 03:50:57 PDT 2007
At 12:30 22.06.2007 +0200, Vadim Zeitlin wrote:
>On Fri, 22 Jun 2007 11:04:02 +0200 Fabian Cenedese <Cenedese at indel.ch> wrote:
>
>FC> That seems to work. I change the flag from a worker thread doing the
>FC> lengthy operation.
>...
>FC> Is this the way to go? Or should this be done automatically in the
>FC> idle event handling?
>
> wx can't know about something that you do from another thread, so you do
>have to wake it up (wxWakeUpIdle) to let it take notice of it.
Works good, same as sending a dummy event, but I prefer this.
Thanks for your help.
bye Fabi
More information about the wx-users
mailing list