From 0f6244044884edb6a8d9dce6fa8b8f7431a338af Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Fri, 3 Nov 2006 03:48:59 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=11456 --- clientgui/sg_StatImageLoader.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/clientgui/sg_StatImageLoader.cpp b/clientgui/sg_StatImageLoader.cpp index 757dad4afd..adf1af1f32 100644 --- a/clientgui/sg_StatImageLoader.cpp +++ b/clientgui/sg_StatImageLoader.cpp @@ -108,6 +108,12 @@ void StatImageLoader::AddMenuItems() wxASSERT(pDoc); wxASSERT(wxDynamicCast(pDoc, CMainDocument)); +#ifndef __WXMAC__ + CSkinSimple* pSkinSimple = wxGetApp().GetSkinManager()->GetSimple(); + + wxASSERT(pSkinSimple); + wxASSERT(wxDynamicCast(pSkinSimple, CSkinSimple)); +#endif PROJECT* project = pDoc->state.lookup_project(m_prjUrl); urlCount = project->gui_urls.size();