timedate.cpl: Fix size of the clock on both windows and reactos on any screen resolution.

svn path=/trunk/; revision=39282
This commit is contained in:
Timo Kreuzer 2009-02-02 01:33:13 +00:00
parent e02dd69903
commit 6c8b5da3ba

View file

@ -196,6 +196,8 @@ ClockWndProc(HWND hwnd,
PATCOPY);
oldMap = SetMapMode(hdcMem, MM_ISOTROPIC);
SetWindowExtEx(hdcMem, 3600, 2700, NULL);
SetViewportExtEx(hdcMem, 800, -600, NULL);
SetViewportOrgEx(hdcMem,
pClockData->cxClient / 2,
pClockData->cyClient / 2,