From a35119e849fc33e1f99efac780f66ba3771b73ee Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Wed, 27 Jan 2016 09:26:45 -1000 Subject: [PATCH] Window icon loading --- lib/win/ApplicationWin32.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/win/ApplicationWin32.cpp b/lib/win/ApplicationWin32.cpp index c51793d..18a09e7 100644 --- a/lib/win/ApplicationWin32.cpp +++ b/lib/win/ApplicationWin32.cpp @@ -2,6 +2,7 @@ #include #include #include +#include #if _DEBUG #define D3D11_CREATE_DEVICE_FLAGS D3D11_CREATE_DEVICE_DEBUG @@ -412,6 +413,7 @@ int ApplicationRun(IApplication::EPlatformType platform, 0, L"BooWindow" }; + wndClass.hIcon = LoadIconW(wndClass.hInstance, MAKEINTRESOURCEW(101)); RegisterClassW(&wndClass);