]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/helpext.cpp
replaced T() makro with wxT() due to namespace probs, _T() exists, too
[wxWidgets.git] / src / generic / helpext.cpp
index 56a293ca4259b0c878c82ceb17ce6327e6e5681d..232d27d10b1579509ff535f3c5810e12658fbfb4 100644 (file)
@@ -102,23 +102,23 @@ wxExtHelpController::DisplayHelp(wxString const &relativeURL)
    {
       wxString lockfile;
       wxGetHomeDir(&lockfile);
-      lockfile << WXEXTHELP_SEPARATOR << T(".netscape/lock");
+      lockfile << WXEXTHELP_SEPARATOR << wxT(".netscape/lock");
       struct stat statbuf;
       if(lstat(lockfile.fn_str(), &statbuf) == 0)
       // cannot use wxFileExists, because it's a link pointing to a
       // non-existing location      if(wxFileExists(lockfile))
       {
          long success;
-         command << m_BrowserName << T(" -remote openURL(")
-                 << T("file://") << m_MapFile
-                 << WXEXTHELP_SEPARATOR << relativeURL << T(")");
+         command << m_BrowserName << wxT(" -remote openURL(")
+                 << wxT("file://") << m_MapFile
+                 << WXEXTHELP_SEPARATOR << relativeURL << wxT(")");
          success = wxExecute(command);
          if(success != 0 ) // returns PID on success
             return TRUE;
       }
    }
    command = m_BrowserName;
-   command << T(" file://")
+   command << wxT(" file://")
            << m_MapFile << WXEXTHELP_SEPARATOR << relativeURL;
    return wxExecute(command) != 0;
 #endif