git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1535
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
newfile << WXEXTHELP_SEPARATOR << wxGetLocale()->GetName();
if(wxDirExists(newfile))
file = newfile;
newfile << WXEXTHELP_SEPARATOR << wxGetLocale()->GetName();
if(wxDirExists(newfile))
file = newfile;
+ else
+ {
+ newfile = WXEXTHELP_SEPARATOR;
+ const char *cptr = wxGetLocale()->GetName().c_str();
+ while(*cptr && *cptr != '_')
+ newfile << *(cptr++);
+ if(wxDirExists(newfile))
+ file = newfile;
+ }
}
if(! wxDirExists(file))
}
if(! wxDirExists(file))