-
/////////////////////////////////////////////////////////////////////////////
// Name: test.cpp
// Purpose: wxHtml testing example
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma implementation "help.cpp"
#pragma interface "help.cpp"
#endif
help.UseConfig(wxConfig::Get());
bool ret;
-#ifdef __WXMAC__
+#if defined(__WXMAC__) && !defined(__DARWIN__)
ret = help.AddBook(":helpfiles:testing.hhp");
#else
help.SetTempDir(".");
#endif
if (! ret)
wxMessageBox("Failed adding book helpfiles/testing.hhp");
-#ifdef __WXMAC__
+#if defined(__WXMAC__) && !defined(__DARWIN__)
ret = help.AddBook(":helpfiles:another.hhp");
#else
ret = help.AddBook("helpfiles/another.hhp");