]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/snglinst.h
Make storing non-trivial data in wxThreadSpecificInfo possible.
[wxWidgets.git] / interface / wx / snglinst.h
index a7c7c0b460bf62b0f8996297a3ab1bc8e5e45795..2801cec57f8f6c26f20d373763f27d0cec142119 100644 (file)
@@ -2,8 +2,7 @@
 // Name:        snglinst.h
 // Purpose:     interface of wxSingleInstanceChecker
 // Author:      wxWidgets team
-// RCS-ID:      $Id$
-// Licence:     wxWindows license
+// 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."));