X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/956b3d92ef079324cd880ddcc321291195130d5f..92c0fc34c104c8d7c12d6a3b78ea232690fc23f4:/interface/wx/snglinst.h?ds=inline diff --git a/interface/wx/snglinst.h b/interface/wx/snglinst.h index a7c7c0b460..2801cec57f 100644 --- a/interface/wx/snglinst.h +++ b/interface/wx/snglinst.h @@ -2,8 +2,7 @@ // Name: snglinst.h // Purpose: interface of wxSingleInstanceChecker // Author: wxWidgets team -// RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -24,7 +23,7 @@ bool MyApp::OnInit() { m_checker = new wxSingleInstanceChecker; - if ( m_checker-IsAnotherRunning() ) + if ( m_checker->IsAnotherRunning() ) { wxLogError(_("Another program instance is already running, aborting."));