Fix compilation with wxUSE_MENUITEMINFO==0.
Add argument to a call to GetHBitmapForMenu, which doesn't have a default parameter any more. Fixes (this part of) WinCE compilation. Broken since r76760. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -641,7 +641,8 @@ bool wxMenu::DoInsertOrAppend(wxMenuItem *pItem, size_t pos)
|
|||||||
if ( pItem->GetBitmap().IsOk() )
|
if ( pItem->GetBitmap().IsOk() )
|
||||||
{
|
{
|
||||||
flags |= MF_BITMAP;
|
flags |= MF_BITMAP;
|
||||||
pData = reinterpret_cast<LPCTSTR>(pItem->GetHBitmapForMenu());
|
pData = reinterpret_cast<LPCTSTR>(
|
||||||
|
pItem->GetHBitmapForMenu(wxMenuItem::Normal));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user