iii icon fix

This commit is contained in:
Fire-Head 2021-02-13 01:35:48 +03:00
parent 2ce946584e
commit 291cdd4bfb

View file

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