Fixed icon

This commit is contained in:
andreja6
2018-10-22 09:54:08 -07:00
parent 43e606f08e
commit 0b9429d1bd
6 changed files with 12 additions and 74 deletions

View File

@@ -1689,8 +1689,10 @@ int main(int argc, char** argv) {
MessageBox(NULL, "Failed to create HWND", (PlaceholderName + " Crash").c_str() , MB_OK);
return 0;
}
SendMessage(hwndMain, WM_SETICON, ICON_BIG,(LPARAM)LoadImage(GetModuleHandle(NULL), (LPCSTR)MAKEINTRESOURCEW(IDI_ICON1), IMAGE_ICON, 0, 0, LR_DEFAULTCOLOR | LR_DEFAULTSIZE));
Demo demo = Demo(settings,hwndMain);
demo.run();