static int LINKAGEMODE IndexCompareFunc(const void *a, const void *b)
{
- return wxStrcmp(((wxHtmlContentsItem*)a)->m_Name, ((wxHtmlContentsItem*)b)->m_Name);
+ return wxStricmp(((wxHtmlContentsItem*)a)->m_Name, ((wxHtmlContentsItem*)b)->m_Name);
}
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 );