// 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
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
{\r
if ( !::DosCloseMutexSem(m_hMutex) )\r
{\r
- wxLogLastError(_T("DosCloseMutexSem"));\r
+ wxLogLastError(wxT("DosCloseMutexSem"));\r
}\r
}\r
}\r
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