X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..674d80a76ff5db54cfb03de20853fba6d739832a:/interface/wx/snglinst.h?ds=sidebyside diff --git a/interface/wx/snglinst.h b/interface/wx/snglinst.h index b24130c399..41e539fde2 100644 --- a/interface/wx/snglinst.h +++ b/interface/wx/snglinst.h @@ -8,7 +8,6 @@ /** @class wxSingleInstanceChecker - @wxheader{snglinst.h} wxSingleInstanceChecker class allows to check that only a single instance of a program is running. To do it, you should create an object of this class. As @@ -29,15 +28,15 @@ { wxLogError(_("Another program instance is already running, aborting.")); - delete m_checker; // OnExit() won't be called if we return @false - m_checker = @NULL; + delete m_checker; // OnExit() won't be called if we return false + m_checker = NULL; - return @false; + return false; } ... more initializations ... - return @true; + return true; } int MyApp::OnExit()