Compilation fix for !wxUSE_OWNER_DRAWN.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -731,11 +731,13 @@ bool wxMenu::DoInsertOrAppend(wxMenuItem *pItem, size_t pos)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if wxUSE_OWNER_DRAWN
|
||||||
if ( makeItemOwnerDrawn )
|
if ( makeItemOwnerDrawn )
|
||||||
{
|
{
|
||||||
SetOwnerDrawnMenuItem(GetHmenu(), pos,
|
SetOwnerDrawnMenuItem(GetHmenu(), pos,
|
||||||
reinterpret_cast<ULONG_PTR>(pItem), TRUE);
|
reinterpret_cast<ULONG_PTR>(pItem), TRUE);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user