]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/tapp.tex
more samples are being built and samples/Makefiles uses SAMPLES_SUBDIRS
[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]);
   ...