Jared Smudde : winefile: Set MDI child icon.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jan 6 14:50:57 CST 2016
Module: wine
Branch: master
Commit: 4b4288f86961055bcd0cb45af1502fe615f45738
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4b4288f86961055bcd0cb45af1502fe615f45738
Author: Jared Smudde <computerwhiz02 at hotmail.com>
Date: Thu Dec 31 13:34:33 2015 -0600
winefile: Set MDI child icon.
Signed-off-by: Jared Smudde <computerwhiz02 at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
programs/winefile/winefile.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/winefile/winefile.c b/programs/winefile/winefile.c
index 34830c5..9d3f0e1 100644
--- a/programs/winefile/winefile.c
+++ b/programs/winefile/winefile.c
@@ -4214,7 +4214,7 @@ static void InitInstance(HINSTANCE hinstance)
wcChild.cbClsExtra = 0;
wcChild.cbWndExtra = 0;
wcChild.hInstance = hinstance;
- wcChild.hIcon = 0;
+ wcChild.hIcon = LoadIconW(hinstance, MAKEINTRESOURCEW(IDI_WINEFILE));
wcChild.hCursor = LoadCursorW(0, (LPCWSTR)IDC_ARROW);
wcChild.hbrBackground = 0;
wcChild.lpszMenuName = 0;
More information about the wine-cvs
mailing list