]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/helpdata.cpp
fix for wxComboBox::GetSelection from inside event handler
[wxWidgets.git] / src / html / helpdata.cpp
index a3b76378e9235b938e41aadae251b44f8e559b1a..beb05d3d65e6fce8bb24f06e2dd20b6eb08cbf7b 100644 (file)
@@ -569,7 +569,7 @@ bool wxHtmlHelpData::AddBook(const wxString& book)
                  index = wxEmptyString,
                  charset = wxEmptyString;
 
                  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 );
         if (wxIsAbsolutePath(book)) bookFull = book;
         else bookFull = wxGetCwd() + book; // no slash or dot
         wxFileName fn( bookFull );