]> 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 9f8b7259fd1f155da94a1a89d010afe7eebecbb3..2801cec57f8f6c26f20d373763f27d0cec142119 100644 (file)
@@ -23,7 +23,7 @@
     bool MyApp::OnInit()
     {
         m_checker = new wxSingleInstanceChecker;
     bool MyApp::OnInit()
     {
         m_checker = new wxSingleInstanceChecker;
-        if ( m_checker-IsAnotherRunning() )
+        if ( m_checker->IsAnotherRunning() )
         {
             wxLogError(_("Another program instance is already running, aborting."));
 
         {
             wxLogError(_("Another program instance is already running, aborting."));