diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-02-12 23:35:48 +0100 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2021-02-12 23:35:48 +0100 |
commit | 291cdd4bfbd595f83ef711aef549c453d3cf64f7 (patch) | |
tree | b16c1d85f0d6252b68c1c58aa474890e0385ea6d /src/skel/win/win.cpp | |
parent | add history section to readme (diff) | |
download | re3-291cdd4bfbd595f83ef711aef549c453d3cf64f7.tar re3-291cdd4bfbd595f83ef711aef549c453d3cf64f7.tar.gz re3-291cdd4bfbd595f83ef711aef549c453d3cf64f7.tar.bz2 re3-291cdd4bfbd595f83ef711aef549c453d3cf64f7.tar.lz re3-291cdd4bfbd595f83ef711aef549c453d3cf64f7.tar.xz re3-291cdd4bfbd595f83ef711aef549c453d3cf64f7.tar.zst re3-291cdd4bfbd595f83ef711aef549c453d3cf64f7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/skel/win/win.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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; |