Use wxBitmapBundle in wxHeaderColumn in samples

This commit is contained in:
Alexander Koshelev
2022-02-18 10:59:04 +03:00
committed by Vadim Zeitlin
parent 33d8510d41
commit 8f43e103e9
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}