From ca41ce6efd7a68b1a9b4f98e2787609518c6fb5b Mon Sep 17 00:00:00 2001 From: StapleButter Date: Sat, 16 Dec 2017 04:10:32 +0100 Subject: windows: add icon --- src/libui_sdl/libui/windows/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libui_sdl/libui/windows/window.cpp') diff --git a/src/libui_sdl/libui/windows/window.cpp b/src/libui_sdl/libui/windows/window.cpp index 50a01c6..e2127cb 100644 --- a/src/libui_sdl/libui/windows/window.cpp +++ b/src/libui_sdl/libui/windows/window.cpp @@ -167,7 +167,7 @@ ATOM registerWindowClass(HICON hDefaultIcon, HCURSOR hDefaultCursor) wc.lpszClassName = windowClass; wc.lpfnWndProc = windowWndProc; wc.hInstance = hInstance; - wc.hIcon = hDefaultIcon; + wc.hIcon = LoadIcon(GetModuleHandle(NULL), MAKEINTRESOURCE(100)); wc.hCursor = hDefaultCursor; wc.hbrBackground = (HBRUSH) (COLOR_BTNFACE + 1); return RegisterClassW(&wc); -- cgit v1.2.3