mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3466
This commit is contained in:
parent
8f4ec7cacc
commit
ec95a96466
|
@ -21,6 +21,9 @@
|
|||
// Revision History:
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.11 2004/05/29 06:56:59 rwalton
|
||||
// *** empty log message ***
|
||||
//
|
||||
// Revision 1.10 2004/05/29 06:39:27 rwalton
|
||||
// *** empty log message ***
|
||||
//
|
||||
|
@ -181,10 +184,10 @@ bool CBaseListCtrlView::OnRestoreState( wxConfigBase* pConfig ) {
|
|||
|
||||
pConfig->SetPath(strBaseConfigLocation + liColumnInfo.GetText());
|
||||
|
||||
pConfig->Read(_T("Width"), &iTempValue);
|
||||
pConfig->Read(_T("Width"), &iTempValue, 80);
|
||||
liColumnInfo.SetWidth(iTempValue);
|
||||
|
||||
pConfig->Read(_T("Format"), &iTempValue);
|
||||
pConfig->Read(_T("Format"), &iTempValue, 0);
|
||||
liColumnInfo.SetAlign((wxListColumnFormat)iTempValue);
|
||||
|
||||
SetColumn(iIndex, liColumnInfo);
|
||||
|
|
|
@ -21,6 +21,9 @@
|
|||
// Revision History:
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.16 2004/05/29 06:58:47 rwalton
|
||||
// *** empty log message ***
|
||||
//
|
||||
// Revision 1.15 2004/05/29 06:39:27 rwalton
|
||||
// *** empty log message ***
|
||||
//
|
||||
|
@ -424,7 +427,7 @@ bool CMainFrame::RestoreState() {
|
|||
|
||||
pConfig->SetPath(strBaseConfigLocation);
|
||||
|
||||
pConfig->Read(_T("CurrentPage"), &iCurrentPage);
|
||||
pConfig->Read(_T("CurrentPage"), &iCurrentPage, 1);
|
||||
m_pNotebook->SetSelection(iCurrentPage);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue