We must InitCommonControls() or the progress bar doesn't work on 95
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 20 Oct 2000 09:24:44 +0000 (09:24 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 20 Oct 2000 09:24:44 +0000 (09:24 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@716 cda61777-01e9-0310-a592-d414129be87e

puttygen.c

index c633f5a..564067a 100644 (file)
@@ -657,6 +657,7 @@ static int CALLBACK MainDlgProc (HWND hwnd, UINT msg,
 }
 
 int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show) {
+    InitCommonControls();
     hinst = inst;
     random_init();
     return DialogBox(hinst, MAKEINTRESOURCE(201), NULL, MainDlgProc) != IDOK;