From ec95a964660c1985a1048688363b409ba730d259 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Sat, 29 May 2004 06:58:47 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3466 --- clientgui/BaseListCtrlView.cpp | 7 +++++-- clientgui/MainFrame.cpp | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/clientgui/BaseListCtrlView.cpp b/clientgui/BaseListCtrlView.cpp index 77625e8dd0..b02b8f5fd7 100644 --- a/clientgui/BaseListCtrlView.cpp +++ b/clientgui/BaseListCtrlView.cpp @@ -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); diff --git a/clientgui/MainFrame.cpp b/clientgui/MainFrame.cpp index 65cb5a5c2d..678f259bcc 100644 --- a/clientgui/MainFrame.cpp +++ b/clientgui/MainFrame.cpp @@ -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);