From d77604c5a28e2462db2897d42a6b4b58fd77d832 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 28 Jan 2002 21:50:22 +0000 Subject: [PATCH] adjusted relative path composition for mac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/helphtml.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/generic/helphtml.cpp b/src/generic/helphtml.cpp index 816c0e12a6..8aa2840806 100644 --- a/src/generic/helphtml.cpp +++ b/src/generic/helphtml.cpp @@ -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; -- 2.45.2