X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f66f6a5b3583b02c34854556eb83e3a808524ce..92c0fc34c104c8d7c12d6a3b78ea232690fc23f4:/interface/wx/snglinst.h 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."));