https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0cc32161d1afc9fd69f0e09e83c8d7a94e76fa58
commit 0cc32161d1afc9fd69f0e09e83c8d7a94e76fa58 Author: Katayama Hirofumi MZ <[email protected]> AuthorDate: Sun Apr 26 09:07:14 2020 +0900 Commit: GitHub <[email protected]> CommitDate: Sun Apr 26 09:07:14 2020 +0900 [MSPAINT] Add to recent documents (#2651) Add to recent documents upon file save. CORE-3588 --- base/applications/mspaint/dib.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/applications/mspaint/dib.cpp b/base/applications/mspaint/dib.cpp index dbe9003d667..ce74c093bd8 100644 --- a/base/applications/mspaint/dib.cpp +++ b/base/applications/mspaint/dib.cpp @@ -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)
