misc: remove resource tool image bitmap block

This was giving me issues on Win10, right click context menus were failing to get text.
This commit is contained in:
Brendan Hagan
2022-06-15 20:39:05 -04:00
parent f83aeec40d
commit 61be347976
2 changed files with 2 additions and 8 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ void DropDownChoiceListBase::drawIcon(DC& dc, int x, int y, size_t item, bool se
image_id = getChoice(item)->first_id;
}
// draw image
if (image_id < style().thumbnails.size()) {
if ((unsigned int) image_id < style().thumbnails.size()) {
auto const& thumbnail = style().thumbnails[image_id];
if (thumbnail.status == THUMB_OK)
dc.DrawBitmap(thumbnail.bitmap, x, y);