]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menu.cpp
No changes, just minor cleanup.
[wxWidgets.git] / src / msw / menu.cpp
index 657a3fb3c3677893122d99c957809ddca60ebd40..93984343d1f2d3a3c00b0218fee417ebe8d6a32d 100644 (file)
@@ -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