*** empty log message ***

svn path=/trunk/boinc/; revision=4859
This commit is contained in:
Rom Walton 2004-12-15 23:08:18 +00:00
parent 10c7c75a47
commit a3b0415e29
2 changed files with 3 additions and 2 deletions

View File

@ -62,6 +62,8 @@ CBOINCBaseView::CBOINCBaseView( wxNotebook* pNotebook, wxWindowID iHtmlWindowID,
m_pTaskPane = NULL;
m_pListPane = NULL;
SetAutoLayout(TRUE);
wxFlexGridSizer* itemFlexGridSizer = new wxFlexGridSizer(2, 0, 0);
wxASSERT(NULL != itemFlexGridSizer);
@ -78,7 +80,6 @@ CBOINCBaseView::CBOINCBaseView( wxNotebook* pNotebook, wxWindowID iHtmlWindowID,
itemFlexGridSizer->Add(m_pListPane, 1, wxGROW|wxALL, 1);
SetSizerAndFit(itemFlexGridSizer);
SetAutoLayout(TRUE);
}

View File

@ -264,6 +264,7 @@ bool CMainFrame::CreateNotebook()
// create frame panel
wxPanel *pPanel = new wxPanel(this, -1, wxDefaultPosition, wxDefaultSize,
wxTAB_TRAVERSAL|wxCLIP_CHILDREN|wxNO_BORDER);
pPanel->SetAutoLayout(TRUE);
// initialize notebook
m_pNotebook = new wxNotebook(pPanel, ID_FRAMENOTEBOOK, wxDefaultPosition, wxDefaultSize,
@ -290,7 +291,6 @@ bool CMainFrame::CreateNotebook()
// have the panel calculate everything after the pages are created so
// the mac can display the html control width correctly
pPanel->SetSizerAndFit(pPanelSizer);
pPanel->SetAutoLayout(TRUE);
wxLogTrace(wxT("Function Start/End"), wxT("CMainFrame::CreateNotebook - Function End"));