fixed MEMW_OPTIONS_LOADSTART menu item
This commit is contained in:
parent
672ef0b001
commit
2cc25611a5
|
@ -537,14 +537,15 @@ static BOOL CALLBACK MemWatchCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARA
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WM_PAINT: {
|
case WM_PAINT:
|
||||||
PAINTSTRUCT ps;
|
PAINTSTRUCT ps;
|
||||||
BeginPaint(hwndDlg, &ps);
|
BeginPaint(hwndDlg, &ps);
|
||||||
EndPaint(hwndDlg, &ps);
|
EndPaint(hwndDlg, &ps);
|
||||||
UpdateMemWatch();
|
UpdateMemWatch();
|
||||||
|
break;
|
||||||
|
case WM_INITMENU:
|
||||||
CheckMenuItem(memwmenu, MEMW_OPTIONS_LOADSTART, MemWatchLoadOnStart ? MF_CHECKED : MF_UNCHECKED);
|
CheckMenuItem(memwmenu, MEMW_OPTIONS_LOADSTART, MemWatchLoadOnStart ? MF_CHECKED : MF_UNCHECKED);
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
case WM_CLOSE:
|
case WM_CLOSE:
|
||||||
case WM_QUIT:
|
case WM_QUIT:
|
||||||
CloseMemoryWatch();
|
CloseMemoryWatch();
|
||||||
|
|
Loading…
Reference in New Issue