wxThread termination not recognized
Fabian Cenedese
Cenedese at indel.ch
Thu Jun 28 00:01:35 PDT 2007
At 18:07 27.06.2007 +0200, Fabian Cenedese wrote:
>At 17:19 27.06.2007 +0200, Steven Van Ingelgem wrote:
>
>>Could you try this:
>>
>>{
>>CIOUUWizard wizard(0, NULL);
>>}
>>
>>(mind the brackets!)
>
>That helps for the simple object variable as in my example. But of course
>I also want to use the wizard with RunWizard(). Then both variants
>(object and new) stay in Delete(). Seems like even after closing the
>wizard there's still something left that prevents continuing.
I found that it works if I add a wxYield() after the brackets (they are
still needed). Seems like the cleanup of the wizard window is done from
the normal event handling which of course isn't started yet in app::OnInit().
The wxYield() takes care of that and thread ->Delete() can return.
bye Fabi
More information about the wx-users
mailing list