Fix HTML help on Mac.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2001-07-14 14:26:27 +00:00
parent 057b55b016
commit 53e46b61bb
2 changed files with 7 additions and 3 deletions

View File

@@ -569,8 +569,8 @@ bool wxHtmlHelpData::AddBook(const wxString& book)
charset = wxEmptyString;
#ifdef __WXMAC__
// wxIsAbsolutePath is broken
bookFull = wxGetCwd() + ":" + book;
if (wxIsAbsolutePath(book)) bookFull = book;
else bookFull = wxGetCwd() + book; // no slash or dot
wxFileName fn( bookFull );
bookFull = fn.GetFullPath( wxPATH_UNIX );
#else