[windows] add icon to main window

This commit is contained in:
Lea Anthony
2021-05-18 21:25:34 +10:00
parent 08f4476087
commit caad3a6b00

View File

@@ -328,6 +328,8 @@ void Run(struct Application* app, int argc, char **argv) {
wc.hInstance = hInstance;
wc.lpszClassName = (LPCWSTR)"ffenestri";
wc.lpfnWndProc = WndProc;
wc.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(100));
wc.hIconSm = LoadIcon(hInstance, MAKEINTRESOURCE(100));
// TODO: Menu
// wc.lpszMenuName = nullptr;