Fixed more -DSTRICT issues.
diff --git a/windows/mdi.c b/windows/mdi.c
index c92db69..d8b260e 100644
--- a/windows/mdi.c
+++ b/windows/mdi.c
@@ -1120,9 +1120,9 @@
if ( (menuInfo.fType & MFT_BITMAP) &&
(LOWORD(menuInfo.dwTypeData)!=0) &&
- (LOWORD(menuInfo.dwTypeData)!=hBmpClose) )
+ (LOWORD(menuInfo.dwTypeData)!=HBITMAP_16(hBmpClose)) )
{
- DeleteObject((HBITMAP)LOWORD(menuInfo.dwTypeData));
+ DeleteObject(HBITMAP_32(LOWORD(menuInfo.dwTypeData)));
}
if(TWEAK_WineLook > WIN31_LOOK)
@@ -1245,7 +1245,7 @@
else
{
LPCLIENTCREATESTRUCT16 ccs = MapSL((SEGPTR)cs->lpCreateParams);
- ci->hWindowMenu = ccs->hWindowMenu;
+ ci->hWindowMenu = HMENU_32(ccs->hWindowMenu);
ci->idFirstChild = ccs->idFirstChild;
}
WIN_ReleasePtr( wndPtr );