Fixes for ignored WVR_[VH]REDRAW flags, made minimization in managed
mode go through window manager, small bugfixes for menu and window
code, extended clipboard driver model to handle formats other than
text.
diff --git a/controls/menu.c b/controls/menu.c
index 4a65fd2..ba47fe4 100644
--- a/controls/menu.c
+++ b/controls/menu.c
@@ -1177,10 +1177,11 @@
GetClientRect( hwnd, &rect );
-/* if(!TWEAK_Win95Look) { */
+ if(TWEAK_WineLook == WIN31_LOOK)
+ {
rect.bottom -= POPUP_YSHADE * SYSMETRICS_CYBORDER;
rect.right -= POPUP_XSHADE * SYSMETRICS_CXBORDER;
-/* } */
+ }
if((hPrevBrush = SelectObject( hdc, GetSysColorBrush(COLOR_MENU) )))
{
@@ -1397,8 +1398,11 @@
}
if( y < 0 ) y = 0;
- width += POPUP_XSHADE * SYSMETRICS_CXBORDER; /* add space for shading */
- height += POPUP_YSHADE * SYSMETRICS_CYBORDER;
+ if( TWEAK_WineLook == WIN31_LOOK )
+ {
+ width += POPUP_XSHADE * SYSMETRICS_CXBORDER; /* add space for shading */
+ height += POPUP_YSHADE * SYSMETRICS_CYBORDER;
+ }
/* NOTE: In Windows, top menu popup is not owned. */
if (!pTopPopupWnd) /* create top level popup menu window */