-void wxExit()
-{
- int retValue = 0;
- if (wxTheApp)
- retValue = wxTheApp->OnExit();
-
- wxApp::CleanUp();
- /*
- * Exit in some platform-specific way.
- * Not recommended that the app calls this:
- * only for emergencies.
- */
- exit(retValue);
-}
-