X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8795498cd9ec480873e88fccbb63b94be3eddb92..78cb09ec439962b53ba75fef814b9a3871412287:/docs/latex/wx/snglinst.tex diff --git a/docs/latex/wx/snglinst.tex b/docs/latex/wx/snglinst.tex index 296a9314ee..3cae29f168 100644 --- a/docs/latex/wx/snglinst.tex +++ b/docs/latex/wx/snglinst.tex @@ -30,6 +30,9 @@ bool MyApp::OnInit() { wxLogError(_("Another program instance is already running, aborting.")); + delete m_checker; // OnExit() won't be called if we return false + m_checker = NULL; + return false; } @@ -62,6 +65,10 @@ No base class +\wxheading{Library} + +\helpref{wxBase}{librarieslist} + \latexignore{\rtfignore{\wxheading{Members}}} \membersection{wxSingleInstanceChecker::wxSingleInstanceChecker}\label{wxsingleinstancecheckerctor}