X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f0838d63f30556cb7c74257a4612b3d418153ce4..ad178a657eee61dc43a516b8aaf4ae2499302a24:/src/os2/snglinst.cpp diff --git a/src/os2/snglinst.cpp b/src/os2/snglinst.cpp index eb95aa3c39..499ad0d1a2 100644 --- a/src/os2/snglinst.cpp +++ b/src/os2/snglinst.cpp @@ -67,7 +67,7 @@ public: return true; } else { m_anotherRunning = false; // we don't know for sure in this case - wxLogLastError(_T("DosCreateMutexSem")); + wxLogLastError(wxT("DosCreateMutexSem")); return false; } } @@ -83,7 +83,7 @@ public: { if ( !::DosCloseMutexSem(m_hMutex) ) { - wxLogLastError(_T("DosCloseMutexSem")); + wxLogLastError(wxT("DosCloseMutexSem")); } } } @@ -107,19 +107,19 @@ bool wxSingleInstanceChecker::Create(const wxString& name, const wxString& WXUNUSED(path)) { wxASSERT_MSG( !m_impl, - _T("calling wxSingleInstanceChecker::Create() twice?") ); + wxT("calling wxSingleInstanceChecker::Create() twice?") ); // creating unnamed mutex doesn't have the same semantics! - wxASSERT_MSG( !name.empty(), _T("mutex name can't be empty") ); + wxASSERT_MSG( !name.empty(), wxT("mutex name can't be empty") ); m_impl = new wxSingleInstanceCheckerImpl; return m_impl->Create(name); } -bool wxSingleInstanceChecker::IsAnotherRunning() const +bool wxSingleInstanceChecker::DoIsAnotherRunning() const { - wxCHECK_MSG( m_impl, false, _T("must call Create() first") ); + wxCHECK_MSG( m_impl, false, wxT("must call Create() first") ); return m_impl->IsAnotherRunning(); }