]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/helphtml.cpp
A few tweaks and cleanups
[wxWidgets.git] / src / generic / helphtml.cpp
index 816c0e12a61c8898ec11709ff0b40d0ab8cbfd04..8aa2840806b67fd6d615803337122ee5bfd190c9 100644 (file)
@@ -133,7 +133,11 @@ wxHTMLHelpControllerBase::LoadFile(const wxString& ifile)
          wxChar* f = wxGetWorkingDirectory();
          file = f;
          delete[] f; // wxGetWorkingDirectory returns new memory
          wxChar* f = wxGetWorkingDirectory();
          file = f;
          delete[] f; // wxGetWorkingDirectory returns new memory
+#ifdef __WXMAC__
+         file << ifile;
+#else
          file << WXEXTHELP_SEPARATOR << ifile;
          file << WXEXTHELP_SEPARATOR << ifile;
+#endif
       }
       else
          file = ifile;
       }
       else
          file = ifile;