+ wxString path, name, ext;
+ wxSplitPath(file, & path, & name, & ext);
+
+ wxString fullName;
+ if (path.IsEmpty())
+ fullName = name + wxT(".hlp");
+ else if (path.Last() == wxT('\\'))
+ fullName = path + name + wxT(".hlp");
+ else
+ fullName = path + wxT("\\") + name + wxT(".hlp");
+ return fullName;