Patch level :
Files correlati : Ricompilazione Demo : [ ] Commento : git-svn-id: svn://10.65.10.50/trunk@18049 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
311f36a4db
commit
f067fe395d
@ -1173,15 +1173,15 @@ void CampoSetup::NormalSetup()
|
||||
//..in modo da vederli subito quando lancerà ba1 (e successivamente ba0)
|
||||
if (bNewInstallation)
|
||||
{
|
||||
//file di destinazione
|
||||
CampoIniFile CampoAdmin(strDataPath + "/config/admin.ini", "Colors");
|
||||
|
||||
//file sorgente
|
||||
const wxString strThemeFileName = Theme();
|
||||
wxString strSrcThemePath = m_strSetupPath;
|
||||
strSrcThemePath << strThemeFileName;
|
||||
CampoIniFile CampoTheme(strSrcThemePath, "Standard");
|
||||
|
||||
//file di destinazione
|
||||
CampoIniFile CampoDestAdmin(strDataPath + "/config/admin.ini", "Colors");
|
||||
|
||||
//copia del tema standard nell'admin.ini di destinazione
|
||||
long nIndex;
|
||||
wxString strKey;
|
||||
@ -1189,7 +1189,7 @@ void CampoSetup::NormalSetup()
|
||||
for (bool ok = CampoTheme.GetFirstEntry(strKey, nIndex); ok; ok = CampoTheme.GetNextEntry(strKey, nIndex))
|
||||
{
|
||||
//copia nel corrispondente paragrafo di destinazione
|
||||
CampoAdmin.Set(strKey, CampoAdmin.Get(strKey));
|
||||
CampoDestAdmin.Set(strKey, CampoTheme.Get(strKey));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user