wxArtProvider::PushProvider(new AlternateArtProvider);
- int istyle = wxHF_DEFAULT_STYLE;
-
- wxArtProvider::PushProvider(new AlternateArtProvider);
+ int istyle = wxHF_DEFAULT_STYLE;
wxString service, windowName, book[10], titleFormat, argStr;
int bookCount = 0;
bool hasWindowName = FALSE;
bool createServer = FALSE;
+#if hvUSE_IPC
m_server = NULL;
+#endif
// Help books are recognized by extension ".hhp" ".htb" or ".zip".
// Service and window_name can occur anywhere in arguments,
for( i=0; i < bookCount; i++ )
{
- m_helpController->AddBook(book[i]);
+ wxFileName fileName(book[i]);
+ m_helpController->AddBook(fileName);
}
#ifdef __WXMOTIF__
if (ext == _T(".zip") || ext == _T(".htb") || ext == _T(".hhp"))
{
wxBusyCursor bcur;
- controller->AddBook(s);
+ wxFileName fileName(s);
+ controller->AddBook(fileName);
return TRUE;
}
}
}
#endif
- // hvUSE_IPC
\ No newline at end of file
+ // hvUSE_IPC