Correct measurement for owner drawn menu items with only unchecked bitmap.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 5 Jan 2011 23:52:56 +0000 (23:52 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 5 Jan 2011 23:52:56 +0000 (23:52 +0000)
commitbbce6969f6966b0f1754341355d3ae64730d2268
treecef0d28942eb57b61811f0d1fb9ce88482cd538f
parent95908499c536ae0db50e17b868aa6e22fb53bb57
Correct measurement for owner drawn menu items with only unchecked bitmap.

Check for either checked or unchecked bitmap being specified for the item
instead of checking the checked/normal bitmap twice which was an obvious typo
and also resulted in items with unchecked bitmap only not being measured
correctly (although I'm not sure if this is actually a supported use case).

Closes #12846.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/menuitem.cpp