Ending the wxApp process when a scripted lua frame is closed
Subject: Ending the wxApp process when a scripted lua frame is closed
Newsgroups: gmane.comp.lib.wxwidgets.wxlua.user
Date: 2008-05-29 15:30:13 GMT
Hi everyone.
I think my problem is really simple, but I need some help to understand how it works.
I created a wxwidget project (wxApp) which display a Dialog window with a file picker to let the users select and load their own script. Then, I close the Dialog window and I run the script chosen thanks to the Runfile().
Everything is Ok for this part. The Script works well and my frame coded in Lua appears.
Then, when I want to finish my application, I click on the "close button" of my scripted frame. The frame desappears as well, but I still have a process running (the process of my wxApp) and I can't end it (no more wxFrame). The only solution is to "kill" the process with the task manager.
I looked at the wxLua application in the sources, but I can't understand how the process wxApp is ended...
Hope you could help me.
Matthieu
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ wxlua-users mailing list wxlua-users@... https://lists.sourceforge.net/lists/listinfo/wxlua-users
RSS Feed