Restarting application
Vadim Zeitlin
vadim at wxwindows.org
Thu May 3 03:15:59 PDT 2007
On 2 May 2007 23:59:14 -0700 chrismc911 at hotmail.com wrote:
> All my objects and initialisation are in the main frame,
So why not just recreate those objects? It's simpler than recreating a
frame.
> Is there a nice way to do a clean and complete restart? Maybe using
> wxExecute with the async flag?
Yes, you should be able to do this, e.g. hide this application, start the
other copy of it and exit this one.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list