OwnerDrawn updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -330,7 +330,7 @@ bool wxMenu::DoInsertOrAppend(
|
||||
// Will eventually need to set the image handle somewhere into vItem.hItem
|
||||
//
|
||||
rItem.afStyle |= MIS_OWNERDRAW;
|
||||
pData = (BYTE*)pItem;
|
||||
pData = (BYTE*)NULL;
|
||||
rItem.hItem = (HBITMAP)pItem->GetBitmap().GetHBITMAP();
|
||||
pItem->m_vMenuData.afStyle = rItem.afStyle;
|
||||
pItem->m_vMenuData.hItem = rItem.hItem;
|
||||
|
Reference in New Issue
Block a user