Module: wine Branch: master Commit: 05375a2a9634c7484a817182feb66f3f80f49b6e URL: http://source.winehq.org/git/wine.git/?a=commit;h=05375a2a9634c7484a817182fe...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Sep 2 11:00:45 2010 +0200
user32: Don't disable DrawFrameControl for non-text mapping modes.
---
dlls/user32/uitools.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/dlls/user32/uitools.c b/dlls/user32/uitools.c index 9fe2044..919589b 100644 --- a/dlls/user32/uitools.c +++ b/dlls/user32/uitools.c @@ -1210,10 +1210,6 @@ static BOOL UITOOLS95_DrawFrameMenu(HDC dc, LPRECT r, UINT uFlags) BOOL WINAPI DrawFrameControl( HDC hdc, LPRECT rc, UINT uType, UINT uState ) { - /* Win95 doesn't support drawing in other mapping modes */ - if(GetMapMode(hdc) != MM_TEXT) - return FALSE; - switch(uType) { case DFC_BUTTON: