mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 19:26:42 +00:00
draw icons with the correct size
fixes the last Miranda menu issue I know of svn path=/trunk/; revision=21671
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
/* INCLUDES *******************************************************************/
|
||||
|
||||
#include <user32.h>
|
||||
#define NDEBUG
|
||||
//#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
/* GLOBALS *******************************************************************/
|
||||
@@ -1487,7 +1487,7 @@ static BOOL PAINTING_DrawStateJam(HDC hdc, UINT opcode,
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user