X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..7b3be6cb27e2c01f3cf4c14c9859d9fe0199b124:/docs/latex/wx/tapp.tex diff --git a/docs/latex/wx/tapp.tex b/docs/latex/wx/tapp.tex index c5e0322a72..a53601eb98 100644 --- a/docs/latex/wx/tapp.tex +++ b/docs/latex/wx/tapp.tex @@ -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]); ...