be owner drawn. This also fixes submenu items that have a bitmap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37266
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( pItem->GetBitmap().Ok() &&
!pItem->GetTextColour().Ok() &&
!pItem->GetBackgroundColour().Ok() &&
- !pItem->GetFont().Ok() )
+ !pItem->GetFont().Ok() &&
+ !pItem->GetBitmap(true).Ok() )
{
// try to use InsertMenuItem() as it's guaranteed to look correctly
// while our owner-drawning code is not