]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/snglinst.cpp
Remove dllexport declaration from a nested struct.
[wxWidgets.git] / src / os2 / snglinst.cpp
index eb95aa3c39ad13ff11c6fd2f3d24150c7dba544b..20df07a4b2b0735422d86c80711a4bb6be9a9cc8 100644 (file)
@@ -4,13 +4,13 @@
 //              named mutexes\r
 // Author:      Vadim Zeitlin\r
 // Modified by: Lauri Nurmi (modified for OS/2)\r
-// Created:     08.02.2009\r
-// RCS-ID:      $Id$\r
-// Copyright:   (c) 2001 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>\r
-// License:     wxWindows licence\r
-///////////////////////////////////////////////////////////////////////////////\r
-\r
-// ============================================================================\r
+// Created:     08.02.2009
+// RCS-ID:      $Id$
+// Copyright:   (c) 2001 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
+// Licence:     wxWindows licence
+///////////////////////////////////////////////////////////////////////////////
+
+// ============================================================================
 // declarations\r
 // ============================================================================\r
 \r
@@ -67,7 +67,7 @@ public:
             return true;\r
         } else {\r
             m_anotherRunning = false;  // we don't know for sure in this case\r
-            wxLogLastError(_T("DosCreateMutexSem"));\r
+            wxLogLastError(wxT("DosCreateMutexSem"));\r
             return false;\r
         }\r
     }\r
@@ -83,7 +83,7 @@ public:
         {\r
             if ( !::DosCloseMutexSem(m_hMutex) )\r
             {\r
-                wxLogLastError(_T("DosCloseMutexSem"));\r
+                wxLogLastError(wxT("DosCloseMutexSem"));\r
             }\r
         }\r
     }\r
@@ -107,19 +107,19 @@ bool wxSingleInstanceChecker::Create(const wxString& name,
                                      const wxString& WXUNUSED(path))\r
 {\r
     wxASSERT_MSG( !m_impl,\r
-                  _T("calling wxSingleInstanceChecker::Create() twice?") );\r
+                  wxT("calling wxSingleInstanceChecker::Create() twice?") );\r
 \r
     // creating unnamed mutex doesn't have the same semantics!\r
-    wxASSERT_MSG( !name.empty(), _T("mutex name can't be empty") );\r
+    wxASSERT_MSG( !name.empty(), wxT("mutex name can't be empty") );\r
 \r
     m_impl = new wxSingleInstanceCheckerImpl;\r
 \r
     return m_impl->Create(name);\r
 }\r
 \r
-bool wxSingleInstanceChecker::IsAnotherRunning() const\r
+bool wxSingleInstanceChecker::DoIsAnotherRunning() const
 {\r
-    wxCHECK_MSG( m_impl, false, _T("must call Create() first") );\r
+    wxCHECK_MSG( m_impl, false, wxT("must call Create() first") );\r
 \r
     return m_impl->IsAnotherRunning();\r
 }\r