Mgr: In CSimpleTaskPanel, change Update() to UpdatePanel() to fix compiler warning

svn path=/trunk/boinc/; revision=24596
This commit is contained in:
Charlie Fenton 2011-11-15 00:48:49 +00:00
parent 6e1414a07f
commit eba8eb373e
4 changed files with 13 additions and 5 deletions

View File

@ -8471,3 +8471,11 @@ David 14 Nov 2011
sched_types.cpp
lib/
parse.cpp,h
Charlie 14 Nov 2011
- Mgr: In CSimpleTaskPanel, change name of Update() to UpdatePanel()
to fix compiler warning about overloading wxWindow::Update().
clientgui/
sg_BoincSimpleFrame.cpp
sg_TaskPanel.cpp,.h

View File

@ -858,7 +858,7 @@ void CSimpleGUIPanel::OnFrameRender() {
// Workaround for Linux refresh problem
if (m_irefreshCount < REFRESH_WAIT) {
++m_irefreshCount;
m_taskPanel->Update(true);
m_taskPanel->UpdatePanel(true);
return;
}
@ -908,7 +908,7 @@ void CSimpleGUIPanel::OnFrameRender() {
m_oldWorkCount = workCount;
m_taskPanel->Update(false);
m_taskPanel->UpdatePanel(false);
}
}

View File

@ -364,12 +364,12 @@ void CSimpleTaskPanel::OnTaskSelection(wxCommandEvent& /*event*/)
if (sel != m_CurrentTaskSelection) {
m_CurrentTaskSelection = sel;
m_bStableTaskInfoChanged = true;
Update();
UpdatePanel();
}
}
void CSimpleTaskPanel::Update(bool delayShow) {
void CSimpleTaskPanel::UpdatePanel(bool delayShow) {
wxString s = wxEmptyString;
wxString projName = wxEmptyString;
TaskSelectionData *selData;

View File

@ -86,7 +86,7 @@ class CSimpleTaskPanel : public CSimplePanelBase
TaskSelectionData* GetTaskSelectionData();
wxString GetSelectedTaskString() { return m_TaskSelectionCtrl->GetValue(); }
void Update(bool delayShow=false);
void UpdatePanel(bool delayShow=false);
wxRect GetProgressRect() { return m_ProgressRect; }
void ReskinInterface();