fixed incorrect use of _() where it should be wxT()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2000-03-11 19:31:33 +00:00
parent f5ba273ecd
commit e81910e077

View File

@@ -162,16 +162,16 @@ bool wxHtmlHelpController::Initialize(const wxString& file)
wxSplitPath(file, & dir, & filename, & ext); wxSplitPath(file, & dir, & filename, & ext);
if (!dir.IsEmpty()) if (!dir.IsEmpty())
dir = dir + wxString(_("/")); dir = dir + wxString(wxT("/"));
// Try to find a suitable file // Try to find a suitable file
wxString actualFilename = dir + filename + wxString(_(".zip")); wxString actualFilename = dir + filename + wxString(wxT(".zip"));
if (!wxFileExists(actualFilename)) if (!wxFileExists(actualFilename))
{ {
actualFilename = dir + filename + wxString(_(".htb")); actualFilename = dir + filename + wxString(wxT(".htb"));
if (!wxFileExists(actualFilename)) if (!wxFileExists(actualFilename))
{ {
actualFilename = dir + filename + wxString(_(".hhp")); actualFilename = dir + filename + wxString(wxT(".hhp"));
if (!wxFileExists(actualFilename)) if (!wxFileExists(actualFilename))
return FALSE; return FALSE;
} }