https://git.reactos.org/?p=reactos.git;a=commitdiff;h=85d7dd4f838d37b95ff89f...
commit 85d7dd4f838d37b95ff89fb876ec4eec25538394 Author: Giannis Adamopoulos gadamopoulos@reactos.org AuthorDate: Sun Jan 28 22:04:34 2018 +0200 Commit: Giannis Adamopoulos gadamopoulos@reactos.org CommitDate: Sun Jan 28 22:04:34 2018 +0200
[EXPLORER] CTrayNotifyWnd: Only update the requested dimension when handling TNWM_GETMINIMUMSIZE. --- base/shell/explorer/trayntfy.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/base/shell/explorer/trayntfy.cpp b/base/shell/explorer/trayntfy.cpp index a5ce527b42..0a85685a6b 100644 --- a/base/shell/explorer/trayntfy.cpp +++ b/base/shell/explorer/trayntfy.cpp @@ -173,6 +173,7 @@ public: pSize->cx += TRAY_NOTIFY_WND_SPACING_X + szTrayClockMin.cx;
pSize->cx += szTray.cx; + pSize->cx += ContentMargin.cxLeftWidth + ContentMargin.cxRightWidth; } else { @@ -182,11 +183,9 @@ public: pSize->cy += TRAY_NOTIFY_WND_SPACING_Y + szTrayClockMin.cy;
pSize->cy += szTray.cy; + pSize->cy += ContentMargin.cyTopHeight + ContentMargin.cyBottomHeight; }
- pSize->cy += ContentMargin.cyTopHeight + ContentMargin.cyBottomHeight; - pSize->cx += ContentMargin.cxLeftWidth + ContentMargin.cxRightWidth; - return TRUE; }