*** empty log message ***

svn path=/trunk/boinc/; revision=6788
This commit is contained in:
Rom Walton 2005-07-24 08:35:57 +00:00
parent 2e68405506
commit ce22da50bc
8 changed files with 25 additions and 6 deletions

View File

@ -9511,3 +9511,14 @@ Janus 23 July 2005
/api/
boinc_api.C
Rom 24 July 2005
- Fix the control positioning on platforms other than Windows.
clientgui/
BOINCBaseView.cpp
BOINCTaskCtrl.cpp
ViewMessages.cpp
ViewProjects.cpp
ViewResources.cpp
ViewStatistics.cpp
ViewTransfers.cpp

View File

@ -391,8 +391,11 @@ void CBOINCBaseView::EmptyTasks() {
}
void CBOINCBaseView::UpdateSelection()
{}
void CBOINCBaseView::UpdateSelection(){
wxASSERT(m_pTaskPane);
m_pTaskPane->UpdateControls();
Layout();
}
bool CBOINCBaseView::_EnsureLastItemVisible() {

View File

@ -38,9 +38,9 @@ CBOINCTaskCtrl::CBOINCTaskCtrl(CBOINCBaseView* pView, wxWindowID iTaskWindowID,
m_pParent = pView;
m_pSizer = NULL;
EnableScrolling(true, true);
SetVirtualSize( 200, 1000 );
SetScrollRate( 10, 10 );
EnableScrolling(false, true);
SetScrollRate( 0, 10 );
}

View File

@ -277,6 +277,7 @@ bool CViewMessages::EnsureLastItemVisible() {
void CViewMessages::UpdateSelection() {
CBOINCBaseView::UpdateSelection();
}

View File

@ -614,7 +614,7 @@ void CViewProjects::UpdateSelection() {
wxASSERT(pDoc);
wxASSERT(wxDynamicCast(pDoc, CMainDocument));
wxASSERT(NULL != m_pTaskPane);
wxASSERT(m_pTaskPane);
// Update the tasks static box buttons
//
@ -705,7 +705,7 @@ void CViewProjects::UpdateSelection() {
m_bForceUpdateSelection = false;
}
m_pTaskPane->UpdateControls();
CBOINCBaseView::UpdateSelection();
}

View File

@ -188,6 +188,7 @@ wxInt32 CViewResources::UpdateCache(long item, long column, wxString& strNewData
void CViewResources::UpdateSelection() {
CBOINCBaseView::UpdateSelection();
}

View File

@ -479,6 +479,7 @@ void CViewStatistics::OnListRender( wxTimerEvent& WXUNUSED(event) ) {
void CViewStatistics::UpdateSelection() {
CBOINCBaseView::UpdateSelection();
}

View File

@ -349,6 +349,8 @@ void CViewTransfers::UpdateSelection() {
} else {
m_pTaskPane->DisableTaskGroupTasks(pGroup);
}
CBOINCBaseView::UpdateSelection();
}