]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/tapp.tex
A fix for attribrute sorting, but it's still broken if there are
[wxWidgets.git] / docs / latex / wx / tapp.tex
index c5e0322a72828fa420cafefade82f4c34c003206..a53601eb98791fa38580c4a0325562b67d10cdeb 100644 (file)
@@ -27,15 +27,15 @@ application.
 An example of defining an application follows:
 
 \begin{verbatim}
-class DerivedApp: public wxApp
+class DerivedApp : public wxApp
 {
- public:
-  bool OnInit(void);
+public:
+  virtual bool OnInit();
 };
 
 IMPLEMENT_APP(DerivedApp)
 
-bool DerivedApp::OnInit(void)
+bool DerivedApp::OnInit()
 {
   wxFrame *the_frame = new wxFrame(NULL, argv[0]);
   ...