*** 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/ /api/
boinc_api.C 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() { bool CBOINCBaseView::_EnsureLastItemVisible() {

View File

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

View File

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

View File

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

View File

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

View File

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