Patch level :2.0 504

Files correlati     :xvagadll
Ricompilazione Demo : [ ]
Commento            :modifica di wxTheApp


git-svn-id: svn://10.65.10.50/trunk@11258 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2003-06-20 08:14:36 +00:00
parent cb86c4819a
commit 3c6288b107

View File

@ -2495,7 +2495,7 @@ void xvt_fsys_get_default_dir(DIRECTORY *dirp)
if (_startup_dir == NULL)
{
_startup_dir = new wxString;
wxFileName::SplitPath(__argv[0], _startup_dir, NULL, NULL);
wxFileName::SplitPath(wxTheApp->argv[0], _startup_dir, NULL, NULL);
}
if (dirp != NULL)
xvt_fsys_convert_str_to_dir(*_startup_dir, dirp);