X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..9c4ba61452d9381c9d71242f0d1610fb2551c846:/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]); ...