// Name: snglinst.h
// Purpose: interface of wxSingleInstanceChecker
// Author: wxWidgets team
-// RCS-ID: $Id$
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
bool MyApp::OnInit()
{
m_checker = new wxSingleInstanceChecker;
- if ( m_checker-IsAnotherRunning() )
+ if ( m_checker->IsAnotherRunning() )
{
wxLogError(_("Another program instance is already running, aborting."));