X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa0ffd1d926cb1282fb75a1ce0e083421ade2f0b..757cc9def70e4685054f4a24238e2df111f6c9fd:/src/generic/helphtml.cpp?ds=sidebyside 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;