wxApp::OnExit() not called - why???
Victor C.
vc6vc6 at gmail.com
Thu Jan 24 11:55:05 PST 2008
On 1/24/08, SAM <nospam at i.net> wrote:
>
> I think you've got it right there. Your loop needs to terminate before
> OnExit() can go. wxApp::OnExit() is the *last* function that gets called on
> the way out the door. In other words, you need to change where/how you're
> setting the hExitLoop variable.
>
Seth, you were right on the money - thank you. It turns out that I
have mistaken the 'Exit' menu item event handler for wxApp::OnExit() -
how stupid of me.
I now set the hExitLoop event in 'Exit' menu item even handler and
everything works like a charm. Thanks again.
Victor
More information about the wx-users
mailing list