From 5b62cd50464560662c83a364bcba81d648d466f3 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Mon, 6 Nov 2006 14:17:44 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=11474 --- clientgui/sg_BoincSimpleGUI.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/clientgui/sg_BoincSimpleGUI.cpp b/clientgui/sg_BoincSimpleGUI.cpp index 44cdfa5b0b..b6e62a5892 100644 --- a/clientgui/sg_BoincSimpleGUI.cpp +++ b/clientgui/sg_BoincSimpleGUI.cpp @@ -352,8 +352,9 @@ void CSimplePanel::ReskinInterface() { wxASSERT(pSkinSimple); wxASSERT(wxDynamicCast(pSkinSimple, CSkinSimple)); - //bg color - SetBackgroundColour(*pSkinSimple->GetBackgroundImage()->GetBackgroundColor()); + Freeze(); + //bg color + SetBackgroundColour(*pSkinSimple->GetBackgroundImage()->GetBackgroundColor()); if(notebookViewInitialized){ if (wrkUnitNB) wrkUnitNB->ReskinAppGUI(); @@ -364,6 +365,7 @@ void CSimplePanel::ReskinInterface() { //reskin component if (projComponent) projComponent->ReskinInterface(); + Thaw(); Refresh(); wxLogTrace(wxT("Function Start/End"), wxT("CSimplePanel::OnReloadSkin - Function End"));