Mercurial > emacs
diff src/w32fns.c @ 85114:5039706521c9
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-875
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 09 Oct 2007 08:52:57 +0000 |
parents | 4197a953442f 90bd4f87874a |
children | f8835bb7ba30 bdb3fe0ba9fa |
line wrap: on
line diff
--- a/src/w32fns.c Tue Oct 09 08:44:02 2007 +0000 +++ b/src/w32fns.c Tue Oct 09 08:52:57 2007 +0000 @@ -48,6 +48,7 @@ #include "bitmaps/gray.xbm" +#include <commctrl.h> #include <commdlg.h> #include <shellapi.h> #include <ctype.h> @@ -9100,6 +9101,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