X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..9e9574fe45b176ee74bba8fad7574cf9906145d1:/interface/wx/snglinst.h diff --git a/interface/wx/snglinst.h b/interface/wx/snglinst.h index 2d68cd0e00..2801cec57f 100644 --- a/interface/wx/snglinst.h +++ b/interface/wx/snglinst.h @@ -2,7 +2,6 @@ // Name: snglinst.h // Purpose: interface of wxSingleInstanceChecker // Author: wxWidgets team -// RCS-ID: $Id$ // 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."));