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:
parent
91b4bd6317
commit
d77604c5a2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user