Author: cwittich Date: Thu Apr 20 11:03:58 2006 New Revision: 21671
URL: http://svn.reactos.ru/svn/reactos?rev=21671&view=rev Log: draw icons with the correct size fixes the last Miranda menu issue I know of
Modified: trunk/reactos/dll/win32/user32/windows/draw.c
Modified: trunk/reactos/dll/win32/user32/windows/draw.c URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/user32/windows/dra... ============================================================================== --- trunk/reactos/dll/win32/user32/windows/draw.c (original) +++ trunk/reactos/dll/win32/user32/windows/draw.c Thu Apr 20 11:03:58 2006 @@ -29,7 +29,7 @@ /* INCLUDES *******************************************************************/
#include <user32.h> -#define NDEBUG +//#define NDEBUG #include <debug.h>
/* GLOBALS *******************************************************************/ @@ -1487,7 +1487,7 @@ return DrawTextA(hdc, (LPSTR)lp, (INT)wp, rc, dtflags);
case DST_ICON: - return DrawIcon(hdc, rc->left, rc->top, (HICON)lp); + return DrawIconEx(hdc, rc->left, rc->top, (HICON)lp, cx, cy, 0, NULL, DI_NORMAL);
case DST_BITMAP: memdc = CreateCompatibleDC(hdc);