From 291cdd4bfbd595f83ef711aef549c453d3cf64f7 Mon Sep 17 00:00:00 2001 From: Fire-Head Date: Sat, 13 Feb 2021 01:35:48 +0300 Subject: iii icon fix --- src/skel/win/win.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/skel') diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp index 7317356c..86b0b214 100644 --- a/src/skel/win/win.cpp +++ b/src/skel/win/win.cpp @@ -1330,7 +1330,11 @@ InitApplication(HANDLE instance) windowClass.cbClsExtra = 0; windowClass.cbWndExtra = 0; windowClass.hInstance = (HINSTANCE)instance; +#ifdef FIX_BUGS + windowClass.hIcon = LoadIcon((HINSTANCE)instance, MAKEINTRESOURCE(IDI_MAIN_ICON)); +#else windowClass.hIcon = nil; +#endif windowClass.hCursor = LoadCursor(nil, IDC_ARROW); windowClass.hbrBackground = nil; windowClass.lpszMenuName = NULL; -- cgit v1.2.3