windows: add icon

This commit is contained in:
StapleButter
2017-12-16 04:10:32 +01:00
parent fff4ca0c95
commit ca41ce6efd
3 changed files with 2 additions and 2 deletions

View File

@ -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);