From 7e552df93222a7fe1e7c504abd8400c535d4bde3 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Mon, 3 Mar 2014 12:13:59 -0500 Subject: [PATCH] MGR: Enforce a 16x16 image for the advanced prefs tab control for all platforms. wxImageList is initialized for 16x16 and would probably throw an error for any other size. --- clientgui/DlgAdvPreferences.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/clientgui/DlgAdvPreferences.cpp b/clientgui/DlgAdvPreferences.cpp index 855c6844c3..c42c6d2c86 100644 --- a/clientgui/DlgAdvPreferences.cpp +++ b/clientgui/DlgAdvPreferences.cpp @@ -84,11 +84,7 @@ CDlgAdvPreferences::CDlgAdvPreferences(wxWindow* parent) : CDlgAdvPreferencesBas iImageIndex = pImageList->Add(wxBitmap(usage_xpm)); m_Notebook->SetPageImage(2,iImageIndex); -#ifdef __WXMAC__ iImageIndex = pImageList->Add(pSkinAdvanced->GetApplicationSnoozeIcon()->GetIcon(wxSize(16,16))); -#else - iImageIndex = pImageList->Add(pSkinAdvanced->GetApplicationSnoozeIcon()->GetIcon(wxDefaultSize)); -#endif m_Notebook->SetPageImage(3,iImageIndex); //setting warning bitmap