From: simon Date: Fri, 20 Oct 2000 09:24:44 +0000 (+0000) Subject: We must InitCommonControls() or the progress bar doesn't work on 95 X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/8b8cf871e5471e658dda0836db678e0d68027e8c We must InitCommonControls() or the progress bar doesn't work on 95 git-svn-id: svn://svn.tartarus.org/sgt/putty@716 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/puttygen.c b/puttygen.c index c633f5af..564067ae 100644 --- a/puttygen.c +++ b/puttygen.c @@ -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;