]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/menu.cpp
warning fix
[wxWidgets.git] / src / os2 / menu.cpp
index 07327e565b438f0a1b62d203527f2ae5b23c4acd..f6f689e9eb4232940e3c511db7cf3b808a58203d 100644 (file)
@@ -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;