X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f66f6a5b3583b02c34854556eb83e3a808524ce..9e9574fe45b176ee74bba8fad7574cf9906145d1:/interface/wx/snglinst.h?ds=inline 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."));