]> git.saurik.com Git - wxWidgets.git/commitdiff
adjusted relative path composition for mac
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 28 Jan 2002 21:50:22 +0000 (21:50 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 28 Jan 2002 21:50:22 +0000 (21:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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
+#ifdef __WXMAC__
+         file << ifile;
+#else
          file << WXEXTHELP_SEPARATOR << ifile;
+#endif
       }
       else
          file = ifile;