diff --git a/clientgui/ViewResources.cpp b/clientgui/ViewResources.cpp index 5a2bcd6300..f1def5ddc3 100644 --- a/clientgui/ViewResources.cpp +++ b/clientgui/ViewResources.cpp @@ -90,7 +90,7 @@ CViewResources::CViewResources(wxNotebook* pNotebook) : CtrlBOINCPart.SetColour(wxColour(255,255,255)); m_pieCtrlBOINC->m_Series.Add(CtrlBOINCPart); m_pieCtrlTotal->SetLayoutDirection(wxLayout_LeftToRight); - CtrlBOINCPart->SetLayoutDirection(wxLayout_LeftToRight); + m_pieCtrlBOINC->SetLayoutDirection(wxLayout_LeftToRight); m_pieCtrlBOINC->Refresh(); //init the flexGrid