Mercurial > emacs
changeset 78907:90bd4f87874a
(globals_of_w32fns): Init common controls.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Thu, 27 Sep 2007 22:09:58 +0000 |
parents | 1410413a32df |
children | 7543ecde159e |
files | src/w32fns.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 <commctrl.h> #include <commdlg.h> #include <shellapi.h> #include <ctype.h> @@ -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