From 914c930e1bc6d5e24ac2daee3be651212b6f87f1 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Fri, 10 Dec 2004 23:30:40 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=4815 --- clientgui/BOINCBaseView.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clientgui/BOINCBaseView.cpp b/clientgui/BOINCBaseView.cpp index 9d8c048e58..0d6606ca50 100644 --- a/clientgui/BOINCBaseView.cpp +++ b/clientgui/BOINCBaseView.cpp @@ -68,9 +68,6 @@ CBOINCBaseView::CBOINCBaseView( wxNotebook* pNotebook, wxWindowID iHtmlWindowID, itemFlexGridSizer->AddGrowableRow(0); itemFlexGridSizer->AddGrowableCol(1); - SetSizer(itemFlexGridSizer); - SetAutoLayout(TRUE); - m_pTaskPane = new CBOINCTaskCtrl( this, iHtmlWindowID, iHtmlWindowFlags ); wxASSERT(NULL != m_pTaskPane); @@ -79,6 +76,9 @@ CBOINCBaseView::CBOINCBaseView( wxNotebook* pNotebook, wxWindowID iHtmlWindowID, itemFlexGridSizer->Add(m_pTaskPane, 0, wxGROW|wxGROW|wxALL, 1); itemFlexGridSizer->Add(m_pListPane, 0, wxGROW|wxGROW|wxALL, 1); + + SetSizer(itemFlexGridSizer); + SetAutoLayout(TRUE); }