]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/help/help.cpp
fixed bug in parsing formats in which fields don't have any non-numeric delimiters
[wxWidgets.git] / samples / html / help / help.cpp
index 1c344c68f8057c8857e48d943bdc7ecc46216b07..ac000fe7dc5e3570939f4572908a720e0f3fc91f 100644 (file)
@@ -1,10 +1,9 @@
-
 /////////////////////////////////////////////////////////////////////////////
 // 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");