mirror of https://github.com/BOINC/boinc.git
Mgr: In CSimpleTaskPanel, change Update() to UpdatePanel() to fix compiler warning
svn path=/trunk/boinc/; revision=24596
This commit is contained in:
parent
6e1414a07f
commit
eba8eb373e
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue