icon totally works win32

master
Allen Webster 2016-03-21 18:56:26 -04:00
parent dcd73d7816
commit 9f08f94fc0
1 changed files with 1 additions and 0 deletions

View File

@ -1854,6 +1854,7 @@ WinMain(HINSTANCE hInstance,
window_class.lpfnWndProc = Win32Callback; window_class.lpfnWndProc = Win32Callback;
window_class.hInstance = hInstance; window_class.hInstance = hInstance;
window_class.lpszClassName = "4coder-win32-wndclass"; window_class.lpszClassName = "4coder-win32-wndclass";
window_class.hIcon = LoadIcon(hInstance, "main");
if (!RegisterClass(&window_class)){ if (!RegisterClass(&window_class)){
return 1; return 1;