- call #Close() in response to the @c "Exit" menu
- command if your program has a single top level window. If this behaviour is not
- desirable wxApp::SetExitOnFrameDelete can
- be called to change it. Note that starting from wxWidgets 2.3.3 such logic
- doesn't apply for the windows shown before the program enters the main loop: in
- other words, you can safely show a dialog from
- wxApp::OnInit and not be afraid that your application
- terminates when this dialog -- which is the last top level window for the
- moment -- is closed.
-
- Another aspect of the application shutdown is #OnExit
+ call wxWindow::Close() in response to the @c "Exit" menu command if your program has a
+ single top level window. If this behaviour is not desirable wxApp::SetExitOnFrameDelete
+ can be called to change it.
+
+ Note that such logic doesn't apply for the windows shown before the program enters the
+ main loop: in other words, you can safely show a dialog from wxApp::OnInit and not be
+ afraid that your application terminates when this dialog -- which is the last top level
+ window for the moment -- is closed.
+
+ Another aspect of the application shutdown is wxApp::OnExit