]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/snglinst.cpp
Make Home and End keys work as expected in wxGrid.
[wxWidgets.git] / src / os2 / snglinst.cpp
index eb95aa3c39ad13ff11c6fd2f3d24150c7dba544b..499ad0d1a2ec3bcbdb8cd6cb73e4bfbf09cd911a 100644 (file)
@@ -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