]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/snglinst.h
Somehow, setting a tint color makes gauge work :/.
[wxWidgets.git] / interface / wx / snglinst.h
index 2d68cd0e00875ee28ed235ed8de7d1c7f9f3bc40..2801cec57f8f6c26f20d373763f27d0cec142119 100644 (file)
@@ -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."));