comparison 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
comparison
equal deleted inserted replaced
85113:82b4a12fd080 85114:5039706521c9
46 #include "ccl.h" 46 #include "ccl.h"
47 #include "systime.h" 47 #include "systime.h"
48 48
49 #include "bitmaps/gray.xbm" 49 #include "bitmaps/gray.xbm"
50 50
51 #include <commctrl.h>
51 #include <commdlg.h> 52 #include <commdlg.h>
52 #include <shellapi.h> 53 #include <shellapi.h>
53 #include <ctype.h> 54 #include <ctype.h>
54 #include <winspool.h> 55 #include <winspool.h>
55 #include <objbase.h> 56 #include <objbase.h>
9098 9099
9099 DEFVAR_INT ("w32-ansi-code-page", 9100 DEFVAR_INT ("w32-ansi-code-page",
9100 &w32_ansi_code_page, 9101 &w32_ansi_code_page,
9101 doc: /* The ANSI code page used by the system. */); 9102 doc: /* The ANSI code page used by the system. */);
9102 w32_ansi_code_page = GetACP (); 9103 w32_ansi_code_page = GetACP ();
9104
9105 /* MessageBox does not work without this when linked to comctl32.dll 6.0. */
9106 InitCommonControls ();
9103 } 9107 }
9104 9108
9105 #undef abort 9109 #undef abort
9106 9110
9107 void w32_abort (void) NO_RETURN; 9111 void w32_abort (void) NO_RETURN;