X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..34bbbc276dc470014c8d200cfbbf7f588076aeaf:/docs/latex/wx/tapp.tex?ds=inline 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]); ...