git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18160
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
for( i=0; i < bookCount; i++ )
{
for( i=0; i < bookCount; i++ )
{
- m_helpController->AddBook(book[i]);
+ wxFileName fileName(book[i]);
+ m_helpController->AddBook(fileName);
if (ext == _T(".zip") || ext == _T(".htb") || ext == _T(".hhp"))
{
wxBusyCursor bcur;
if (ext == _T(".zip") || ext == _T(".htb") || ext == _T(".hhp"))
{
wxBusyCursor bcur;
- controller->AddBook(s);
+ wxFileName fileName(s);
+ controller->AddBook(fileName);