mirror of https://github.com/BOINC/boinc.git
- MGR: Turn off the task pane for the notices tab.
clientgui/ ViewNotices.cpp svn path=/trunk/boinc/; revision=23136
This commit is contained in:
parent
701ba814ff
commit
4bae84d861
|
@ -1266,3 +1266,9 @@ Rom 2 Mar 2011
|
|||
|
||||
clientgui/
|
||||
BOINCGUIApp.cpp
|
||||
|
||||
Rom 2 Mar 2011
|
||||
- MGR: Turn off the task pane for the notices tab.
|
||||
|
||||
clientgui/
|
||||
ViewNotices.cpp
|
||||
|
|
|
@ -51,27 +51,20 @@ CViewNotices::CViewNotices(wxNotebook* pNotebook) :
|
|||
//
|
||||
// Setup View
|
||||
//
|
||||
wxFlexGridSizer* itemFlexGridSizer = new wxFlexGridSizer(2, 0, 0);
|
||||
wxASSERT(itemFlexGridSizer);
|
||||
SetAutoLayout(TRUE);
|
||||
|
||||
itemFlexGridSizer->AddGrowableRow(0);
|
||||
itemFlexGridSizer->AddGrowableCol(1);
|
||||
|
||||
m_pTaskPane = new CBOINCTaskCtrl(this, ID_TASK_NOTIFICATIONSVIEW, DEFAULT_TASK_FLAGS);
|
||||
wxASSERT(m_pTaskPane);
|
||||
wxBoxSizer *pSizer = new wxBoxSizer(wxVERTICAL);
|
||||
wxASSERT(pSizer);
|
||||
|
||||
m_pHtmlListPane = new CNoticeListCtrl(this);
|
||||
wxASSERT(m_pHtmlListPane);
|
||||
|
||||
itemFlexGridSizer->Add(m_pTaskPane, 1, wxGROW|wxALL, 1);
|
||||
itemFlexGridSizer->Add(m_pHtmlListPane, 1, wxGROW|wxALL, 1);
|
||||
pSizer->Add(m_pHtmlListPane, 1, wxGROW|wxALL, 1);
|
||||
|
||||
SetSizer(itemFlexGridSizer);
|
||||
SetSizer(pSizer);
|
||||
|
||||
Layout();
|
||||
|
||||
// Create Task Pane Items
|
||||
m_pTaskPane->UpdateControls();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue