X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..e75390d4aa51b46b9217dc4699267c1345893054:/src/msw/menu.cpp diff --git a/src/msw/menu.cpp b/src/msw/menu.cpp index 657a3fb3c3..93984343d1 100644 --- a/src/msw/menu.cpp +++ b/src/msw/menu.cpp @@ -399,7 +399,7 @@ HBITMAP GetHBitmapForMenu(wxMenuItem *pItem, bool checked = true) pItem->SetBitmap(img, checked); } - return GetHbitmapOf(pItem->GetBitmap()); + return GetHbitmapOf(pItem->GetBitmap(checked)); } } #endif // wxUSE_IMAGE