Minor updates for compilation against 2.8.0. Cosmetic changes.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11758 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Christi Scarborough 2006-12-14 06:11:29 +00:00
parent 5003669541
commit f938d8cc34
5 changed files with 50 additions and 30 deletions

View file

@ -36,9 +36,9 @@ bool rbutilFrmApp::OnInit()
// DANGER! GetDataDir() doesn't portably return the application directory
// We want to use the form below instead, but not until wxWidgets 2.8 is
// released.
// gv->AppDir = gv->stdpaths->GetExecutablePath()->BeforeLast(&pathsep);
buf = gv->stdpaths->GetDataDir(); buf.Append(PATH_SEP);
gv->AppDir = buf.BeforeLast(PATH_SEP_CHR).c_str();
gv->AppDir = gv->stdpaths->GetExecutablePath().BeforeLast(PATH_SEP_CHR);
// buf = gv->stdpaths->GetDataDir(); buf.Append(PATH_SEP);
// gv->AppDir = buf.BeforeLast(PATH_SEP_CHR).c_str();
buf = gv->stdpaths->GetUserDataDir();
if (! wxDirExists(buf) )