[MSPAINT] Add to recent documents (#2651)

Add to recent documents upon file save. CORE-3588
This commit is contained in:
Katayama Hirofumi MZ 2020-04-26 09:07:14 +09:00 committed by GitHub
parent f28cc0fc78
commit 0cc32161d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -69,6 +69,8 @@ SaveDIBToFile(HBITMAP hBitmap, LPTSTR FileName, HDC hDC, LPSYSTEMTIME time, int
// TODO: update hRes and vRes
CloseHandle(hFile);
registrySettings.SetMostRecentFile(FileName);
}
void ShowFileLoadError(LPCTSTR name)