Alexandre Julliard : user32: Don' t disable DrawFrameControl for non-text mapping modes.
Alexandre Julliard
julliard at winehq.org
Thu Sep 2 12:01:23 CDT 2010
Module: wine
Branch: master
Commit: 05375a2a9634c7484a817182feb66f3f80f49b6e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=05375a2a9634c7484a817182feb66f3f80f49b6e
Author: Alexandre Julliard <julliard at 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:
More information about the wine-cvs
mailing list