# HG changeset patch # User Jason Rumney # Date 1190930998 0 # Node ID 90bd4f87874a793c2ffcd0135bf0ccdf725660f6 # Parent 1410413a32df375fa327aa5c0afe4cfead90acca (globals_of_w32fns): Init common controls. diff -r 1410413a32df -r 90bd4f87874a src/w32fns.c --- a/src/w32fns.c Thu Sep 27 22:09:21 2007 +0000 +++ b/src/w32fns.c Thu Sep 27 22:09:58 2007 +0000 @@ -48,6 +48,7 @@ #include "bitmaps/gray.xbm" +#include #include #include #include @@ -9073,6 +9074,9 @@ &w32_ansi_code_page, doc: /* The ANSI code page used by the system. */); w32_ansi_code_page = GetACP (); + + /* MessageBox does not work without this when linked to comctl32.dll 6.0. */ + InitCommonControls (); } #undef abort