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)
|
//..in modo da vederli subito quando lancerà ba1 (e successivamente ba0)
|
||||||
if (bNewInstallation)
|
if (bNewInstallation)
|
||||||
{
|
{
|
||||||
//file di destinazione
|
|
||||||
CampoIniFile CampoAdmin(strDataPath + "/config/admin.ini", "Colors");
|
|
||||||
|
|
||||||
//file sorgente
|
//file sorgente
|
||||||
const wxString strThemeFileName = Theme();
|
const wxString strThemeFileName = Theme();
|
||||||
wxString strSrcThemePath = m_strSetupPath;
|
wxString strSrcThemePath = m_strSetupPath;
|
||||||
strSrcThemePath << strThemeFileName;
|
strSrcThemePath << strThemeFileName;
|
||||||
CampoIniFile CampoTheme(strSrcThemePath, "Standard");
|
CampoIniFile CampoTheme(strSrcThemePath, "Standard");
|
||||||
|
|
||||||
|
//file di destinazione
|
||||||
|
CampoIniFile CampoDestAdmin(strDataPath + "/config/admin.ini", "Colors");
|
||||||
|
|
||||||
//copia del tema standard nell'admin.ini di destinazione
|
//copia del tema standard nell'admin.ini di destinazione
|
||||||
long nIndex;
|
long nIndex;
|
||||||
wxString strKey;
|
wxString strKey;
|
||||||
@ -1189,7 +1189,7 @@ void CampoSetup::NormalSetup()
|
|||||||
for (bool ok = CampoTheme.GetFirstEntry(strKey, nIndex); ok; ok = CampoTheme.GetNextEntry(strKey, nIndex))
|
for (bool ok = CampoTheme.GetFirstEntry(strKey, nIndex); ok; ok = CampoTheme.GetNextEntry(strKey, nIndex))
|
||||||
{
|
{
|
||||||
//copia nel corrispondente paragrafo di destinazione
|
//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