Added GetBitmap, GetIcon to wxImageList

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-02-27 10:36:58 +00:00
parent 9075301655
commit 49bf4e3e68
12 changed files with 103 additions and 13 deletions

View File

@@ -496,7 +496,7 @@ printf("begin insert\n");
const wxBitmap *bmp;
const wxImageList *list;
if ((list = GetImageList(wxIMAGE_LIST_NORMAL)) != NULL)
if ((bmp = list->GetBitmap(image)) != NULL)
if ((bmp = list->GetBitmapPtr(image)) != NULL)
if (bmp->Ok()) {
GdkBitmap *mask = NULL;
if (bmp->GetMask())