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.

This commit is contained in:
Rom Walton 2014-03-03 12:13:59 -05:00
parent e2c845f922
commit 7e552df932
1 changed files with 0 additions and 4 deletions

View File

@ -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