Convert filename to URL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2002-12-09 15:52:29 +00:00
parent 8ad944dcbc
commit dba06cd016

View File

@ -202,7 +202,8 @@ bool hvApp::OnInit()
for( i=0; i < bookCount; i++ )
{
m_helpController->AddBook(book[i]);
wxFileName fileName(book[i]);
m_helpController->AddBook(fileName);
}
#ifdef __WXMOTIF__
@ -260,7 +261,8 @@ bool hvApp::OpenBook(wxHtmlHelpController* controller)
if (ext == _T(".zip") || ext == _T(".htb") || ext == _T(".hhp"))
{
wxBusyCursor bcur;
controller->AddBook(s);
wxFileName fileName(s);
controller->AddBook(fileName);
return TRUE;
}
}