mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=4857
This commit is contained in:
parent
59ca76a964
commit
b8818d2f75
|
@ -77,7 +77,7 @@ CBOINCBaseView::CBOINCBaseView( wxNotebook* pNotebook, wxWindowID iHtmlWindowID,
|
||||||
itemFlexGridSizer->Add(m_pTaskPane, 1, wxGROW|wxALL, 1);
|
itemFlexGridSizer->Add(m_pTaskPane, 1, wxGROW|wxALL, 1);
|
||||||
itemFlexGridSizer->Add(m_pListPane, 1, wxGROW|wxALL, 1);
|
itemFlexGridSizer->Add(m_pListPane, 1, wxGROW|wxALL, 1);
|
||||||
|
|
||||||
SetSizer(itemFlexGridSizer);
|
SetSizerAndFit(itemFlexGridSizer);
|
||||||
SetAutoLayout(TRUE);
|
SetAutoLayout(TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -278,6 +278,8 @@ bool CMainFrame::CreateNotebook()
|
||||||
pPanelSizer->Add(0, 4);
|
pPanelSizer->Add(0, 4);
|
||||||
pPanelSizer->Add(pNotebookSizer, 1, wxEXPAND);
|
pPanelSizer->Add(pNotebookSizer, 1, wxEXPAND);
|
||||||
|
|
||||||
|
|
||||||
|
// create the various notebook pages
|
||||||
CreateNotebookPage( new CViewProjects( m_pNotebook ) );
|
CreateNotebookPage( new CViewProjects( m_pNotebook ) );
|
||||||
CreateNotebookPage( new CViewWork( m_pNotebook ) );
|
CreateNotebookPage( new CViewWork( m_pNotebook ) );
|
||||||
CreateNotebookPage( new CViewTransfers( m_pNotebook ) );
|
CreateNotebookPage( new CViewTransfers( m_pNotebook ) );
|
||||||
|
@ -285,10 +287,10 @@ bool CMainFrame::CreateNotebook()
|
||||||
CreateNotebookPage( new CViewResources( m_pNotebook ) );
|
CreateNotebookPage( new CViewResources( m_pNotebook ) );
|
||||||
|
|
||||||
|
|
||||||
// Have the panel calculate everything after the6 pages are created so
|
// Have the panel calculate everything after the pages are created so
|
||||||
// the Mac can display the Html control width correctly
|
// the Mac can display the Html control width correctly
|
||||||
pPanel->SetAutoLayout(true);
|
|
||||||
pPanel->SetSizerAndFit(pPanelSizer);
|
pPanel->SetSizerAndFit(pPanelSizer);
|
||||||
|
pPanel->SetAutoLayout(TRUE);
|
||||||
|
|
||||||
|
|
||||||
wxLogTrace(wxT("Function Start/End"), wxT("CMainFrame::CreateNotebook - Function End"));
|
wxLogTrace(wxT("Function Start/End"), wxT("CMainFrame::CreateNotebook - Function End"));
|
||||||
|
|
Loading…
Reference in New Issue