Patch level :10.0 cd
Files correlati : Ricompilazione Demo : [ ] Commento :correzioni per creare l'icona sul desktop con wx289 (bastardissimo) git-svn-id: svn://10.65.10.50/trunk@18787 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
8bfb893da5
commit
68ec82d4e9
@ -299,8 +299,7 @@ bool CampoSetup::CreateIcon(unsigned int csidl, const wxFileName& strExeFile, co
|
|||||||
// Save the link by calling IPersistFile::Save.
|
// Save the link by calling IPersistFile::Save.
|
||||||
wxString strPath = fnLnk.GetFullPath();
|
wxString strPath = fnLnk.GetFullPath();
|
||||||
wchar_t buff[_MAX_PATH];
|
wchar_t buff[_MAX_PATH];
|
||||||
memset(buff, 0, sizeof(buff));
|
wxConvLibc.ToWChar(buff, _MAX_PATH, strPath);
|
||||||
wxConvLocal.MB2WC(buff, strPath, strPath.Len());
|
|
||||||
hres = ppf->Save(buff, true);
|
hres = ppf->Save(buff, true);
|
||||||
ppf->Release();
|
ppf->Release();
|
||||||
}
|
}
|
||||||
|
@ -481,6 +481,8 @@ bool CampoWizardPage3::ForwardValidate()
|
|||||||
return ErrorBox("Impossibile installare la versione DEMO!\nLa cartella c:/campodemo NON e' vuota!");
|
return ErrorBox("Impossibile installare la versione DEMO!\nLa cartella c:/campodemo NON e' vuota!");
|
||||||
|
|
||||||
GetWizard().SetInstDemoVersion(true);
|
GetWizard().SetInstDemoVersion(true);
|
||||||
|
GetWizard().SetPrgLocPath(strPrgDemoPath);
|
||||||
|
GetWizard().SetInstallationType(it_standalone);
|
||||||
}
|
}
|
||||||
|
|
||||||
//questo lo fa in ogni caso!
|
//questo lo fa in ogni caso!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user