Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a35faffd59
commit
3a5815b583
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user