mirror of https://github.com/BOINC/boinc.git
Manager: Fix crash bug in wxPieCtrl.
svn path=/trunk/boinc/; revision=12719
This commit is contained in:
parent
8c1b75bf8a
commit
4f7daa6e1e
|
@ -5189,11 +5189,14 @@ David 22 May 2007
|
|||
graphics2_win.C
|
||||
|
||||
Charlie 22 May 2007
|
||||
- Manager: Fix crash bug in wxPieCtrl.
|
||||
- Mac: Add list control sources back into XCode Project
|
||||
(ViewTransfers.cpp,.h, ViewWork.cpp,.h,ViewProjects.cpp,.h)
|
||||
- Mac: Revert XCode project, build scripts and build instructions to use
|
||||
wxMac-2.6.3 as a temporary workaround to SimpleGUI drawing bug.
|
||||
|
||||
clientgui/
|
||||
wxPieCtrl.cpp
|
||||
mac_build/
|
||||
buildWxMac.sh
|
||||
HowToBuildBOINC_XCode.rtf
|
||||
|
|
|
@ -176,6 +176,8 @@ void wxPieCtrl::GetPartAngles(wxArrayDouble & angles)
|
|||
{
|
||||
total += m_Series[i].GetValue();
|
||||
}
|
||||
if (total == 0.0)
|
||||
return;
|
||||
double current(0);
|
||||
angles.Add(current);
|
||||
for(i = 0; i < m_Series.Count(); i++)
|
||||
|
|
Loading…
Reference in New Issue