X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..ccef4c3ad16fe5bf4365569c431f1208d79eb0ef:/docs/doxygen/overviews/app.h?ds=sidebyside
diff --git a/docs/doxygen/overviews/app.h b/docs/doxygen/overviews/app.h
index 8217e20dde..9a269f4e25 100644
--- a/docs/doxygen/overviews/app.h
+++ b/docs/doxygen/overviews/app.h
@@ -2,7 +2,6 @@
// Name: app.h
// Purpose: topic overview
// Author: wxWidgets team
-// RCS-ID: $Id$
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
@@ -10,16 +9,7 @@
@page overview_app wxApp Overview
-Classes: wxApp
-
-@li @ref overview_app_intro
-@li @ref overview_app_shutdown
-
-
-
-
-
-@section overview_app_intro Introduction
+@tableofcontents
A wxWidgets application does not have a @e main procedure; the equivalent is
the wxApp::OnInit member defined for a class derived from wxApp.
@@ -27,8 +17,7 @@ the wxApp::OnInit member defined for a class derived from wxApp.
@e OnInit will usually create a top window as a bare minimum. Unlike in earlier
versions of wxWidgets, OnInit does not return a frame. Instead it returns a
boolean value which indicates whether processing should continue (@true) or not
-(@false). You call wxApp::SetTopWindow to let wxWidgets know about the top
-window.
+(@false).
Note that the program's command line arguments, represented by @e argc and
@e argv, are available from within wxApp member functions.
@@ -59,7 +48,6 @@ bool DerivedApp::OnInit()
wxFrame *the_frame = new wxFrame(NULL, ID_MYFRAME, argv[0]);
...
the_frame->Show(true);
- SetTopWindow(the_frame);
return true;
}
@@ -77,6 +65,7 @@ function which returns a reference to the application object. Otherwise you can
only use the global @c wxTheApp pointer which is of type @c wxApp*.
+
@section overview_app_shutdown Application Shutdown
The application normally shuts down when the last of its top level windows is
@@ -135,4 +124,3 @@ int MyApp::OnExit()
@endcode
*/
-