Lines Matching refs:icon
34 #include "wx/icon.h"
109 // we may have either bitmap or icon: if a bitmap with mask is passed, we
110 // will transform it to an icon ourselves because otherwise the mask will
122 _T("not an icon and not a bitmap?") );
128 wxIcon* icon = new wxIcon;
129 icon->CopyFromBitmap(bmp);
131 return icon;
152 // we may have either bitmap or icon: if a bitmap with mask is passed, we
153 // will transform it to an icon ourselves because otherwise the mask will
221 // we can't ask for an icon if all we have is a bitmap
222 wxCHECK_MSG( m_isIcon, wxIcon(), _T("no icon in this wxStaticBitmap") );
231 // don't fail because we might have replaced the bitmap with icon