mirror of https://github.com/BOINC/boinc.git
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:
parent
e2c845f922
commit
7e552df932
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue