diff --git a/interface/wx/snglinst.h b/interface/wx/snglinst.h index 9f8b7259fd..2801cec57f 100644 --- a/interface/wx/snglinst.h +++ b/interface/wx/snglinst.h @@ -23,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."));