]> git.saurik.com Git - wxWidgets.git/commitdiff
Small patch for HTML help under Drawin.
authorRobert Roebling <robert@roebling.de>
Thu, 15 Nov 2001 15:49:12 +0000 (15:49 +0000)
committerRobert Roebling <robert@roebling.de>
Thu, 15 Nov 2001 15:49:12 +0000 (15:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/helpdata.cpp

index a3b76378e9235b938e41aadae251b44f8e559b1a..beb05d3d65e6fce8bb24f06e2dd20b6eb08cbf7b 100644 (file)
@@ -569,7 +569,7 @@ bool wxHtmlHelpData::AddBook(const wxString& book)
                  index = wxEmptyString,
                  charset = wxEmptyString;
 
-#ifdef __WXMAC__
+#if defined(__WXMAC__) && !defined(__DARWIN__)
         if (wxIsAbsolutePath(book)) bookFull = book;
         else bookFull = wxGetCwd() + book; // no slash or dot
         wxFileName fn( bookFull );