mirror of
https://github.com/reactos/reactos.git
synced 2026-06-03 17:59:48 +08:00
[TIMEDATE] Update the clock on WM_TIMECHANGE
This commit is contained in:
@@ -163,6 +163,7 @@ ClockWndProc(HWND hwnd,
|
||||
pClockData->cyClient = HIWORD(lParam);
|
||||
break;
|
||||
|
||||
case WM_TIMECHANGE:
|
||||
case WM_TIMER:
|
||||
GetLocalTime(&pClockData->stCurrent);
|
||||
InvalidateRect(hwnd, NULL, FALSE);
|
||||
|
||||
Reference in New Issue
Block a user