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