51 wxSize aPreferredIconSize = wxDefaultSize );
53 void Draw( wxGrid& aGrid, wxGridCellAttr& aAttr, wxDC& aDC,
54 const wxRect& aRect,
int aRow,
int aCol,
bool isSelected )
override;
55 wxSize
GetBestSize( wxGrid &
grid, wxGridCellAttr & attr, wxDC & dc,
int row,
void Draw(wxGrid &aGrid, wxGridCellAttr &aAttr, wxDC &aDC, const wxRect &aRect, int aRow, int aCol, bool isSelected) override
GRID_CELL_ICON_TEXT_RENDERER(const std::vector< BITMAPS > &icons, const wxArrayString &names)
Construct a renderer that maps a list of icons from the bitmap system to a list of strings.
std::vector< BITMAPS > m_icons
wxSize GetBestSize(wxGrid &grid, wxGridCellAttr &attr, wxDC &dc, int row, int col) override