• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/msw/

Lines Matching defs:icon

128         wxIcon *icon = wxDynamicCast(image, wxIcon);
129 wxCHECK_MSG( icon, false, _T("wxIconHandler only works with icons") );
131 return LoadIcon(icon, name, flags, desiredWidth, desiredHeight);
135 virtual bool LoadIcon(wxIcon *icon,
143 wxICOFileHandler() : wxIconHandler(_T("ICO icon file"),
150 virtual bool LoadIcon(wxIcon *icon,
168 virtual bool LoadIcon(wxIcon *icon,
389 bool wxICOFileHandler::LoadIcon(wxIcon *icon,
394 icon->UnRef();
402 // specify the nth icon in the file.
416 // If we don't know what size icon we're looking for,
419 // will scale the icon to the 'desired' size, even if that
420 // size of icon isn't explicitly stored. So we would have
421 // to parse the icon file outselves.
425 // Try loading a large icon first
429 // Then try loading a small icon
436 // were we asked for a large icon?
440 // get the specified large icon from file
453 // get the specified small icon from file
466 // take any size icon from the file by index
473 wxLogSysError(_T("Failed to load icon from the file '%s'"),
494 icon->SetHICON((WXHICON)hicon);
495 icon->SetSize(size.x, size.y);
497 return icon->Ok();
500 bool wxICOResourceHandler::LoadIcon(wxIcon *icon,
507 // do we need the icon of the specific size or would any icon do?
513 // try to load the icon from this program first to allow overriding the
518 // some icon rescaling internally which results in very ugly 16x16 icons
530 // next check if it's not a standard icon
557 icon->SetSize(size.x, size.y);
559 icon->SetHICON((WXHICON)hicon);
561 return icon->Ok();
601 // use default icon size on this hardware