Use wxBitmapBundle in wxHeaderColumn in samples
This commit is contained in:
parent
33d8510d41
commit
8f43e103e9
2 changed files with 2 additions and 2 deletions
|
|
@ -209,7 +209,7 @@ void HeaderCtrlWidgetsPage::RecreateWidget()
|
|||
if ( m_colSettings[i].chkWithBitmap->IsChecked() )
|
||||
{
|
||||
const wxArtID icons[] = { wxART_ERROR, wxART_QUESTION, wxART_WARNING, wxART_INFORMATION };
|
||||
col.SetBitmap(wxArtProvider::GetIcon(icons[i % WXSIZEOF(icons)], wxART_BUTTON));
|
||||
col.SetBitmap(wxArtProvider::GetBitmapBundle(icons[i % WXSIZEOF(icons)], wxART_BUTTON));
|
||||
}
|
||||
m_header->AppendColumn(col);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue