From f04cc9e9ec0be48d8d3712fc91094c401e3cc471 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 9 Feb 2011 01:32:53 +0000 Subject: use the netsurf icons on the window decoration svn path=/trunk/netsurf/; revision=11635 --- windows/gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'windows/gui.c') diff --git a/windows/gui.c b/windows/gui.c index 35ab01b72..ba4dad571 100644 --- a/windows/gui.c +++ b/windows/gui.c @@ -1646,12 +1646,12 @@ static void create_local_windows_classes(void) { w.cbClsExtra = 0; w.cbWndExtra = 0; w.hInstance = hinstance; - w.hIcon = LoadIcon(NULL, IDI_APPLICATION); /* -> NetSurf */ + w.hIcon = LoadIcon(hinstance, MAKEINTRESOURCE(NSWS_ID_NETSURF32_ICON)); /* -> NetSurf */ w.hCursor = NULL; w.hbrBackground = (HBRUSH)(COLOR_MENU + 1); w.lpszMenuName = NULL; w.lpszClassName = windowclassname_main; - w.hIconSm = LoadIcon(NULL, IDI_APPLICATION); /* -> NetSurf */ + w.hIconSm = LoadIcon(hinstance, MAKEINTRESOURCE(NSWS_ID_NETSURF16_ICON)); /* -> NetSurf */ RegisterClassEx(&w); /* drawable area */ -- cgit v1.2.3