adjusted relative path composition for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -133,7 +133,11 @@ wxHTMLHelpControllerBase::LoadFile(const wxString& ifile)
|
|||||||
wxChar* f = wxGetWorkingDirectory();
|
wxChar* f = wxGetWorkingDirectory();
|
||||||
file = f;
|
file = f;
|
||||||
delete[] f; // wxGetWorkingDirectory returns new memory
|
delete[] f; // wxGetWorkingDirectory returns new memory
|
||||||
|
#ifdef __WXMAC__
|
||||||
|
file << ifile;
|
||||||
|
#else
|
||||||
file << WXEXTHELP_SEPARATOR << ifile;
|
file << WXEXTHELP_SEPARATOR << ifile;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
file = ifile;
|
file = ifile;
|
||||||
|
Reference in New Issue
Block a user