]> git.saurik.com Git - wxWidgets.git/commitdiff
Unicode compilation fix
authorOve Kaaven <ovek@arcticnet.no>
Sun, 25 Jul 1999 05:41:29 +0000 (05:41 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Sun, 25 Jul 1999 05:41:29 +0000 (05:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/helphtml.cpp

index 3e0a648dee358f6be362cb92d7fd673c3dec8e58..aaab0eb9c10ae8182bd72ea73da2f7b9c0106628 100644 (file)
@@ -219,13 +219,13 @@ wxHTMLHelpControllerBase::DisplayContents()
    bool rc = FALSE;
    wxString file;
    file << m_MapFile << WXEXTHELP_SEPARATOR << contents;
-   if(file.Contains('#'))
-      file = file.BeforeLast('#');
+   if(file.Contains(_T('#')))
+      file = file.BeforeLast(_T('#'));
    if(contents.Length() && wxFileExists(file))
       rc = DisplaySection(CONTENTS_ID);
    
    // if not found, open homemade toc:
-   return rc ? TRUE : KeywordSearch("");
+   return rc ? TRUE : KeywordSearch(_T(""));
 }
 
 bool