mirror of
https://github.com/taigrr/wails.git
synced 2026-04-14 10:50:53 -07:00
[windows] add icon to main window
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user