1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 08:31:35 -08:00

(globals_of_w32fns): Init common controls.

This commit is contained in:
Jason Rumney 2007-09-27 22:10:53 +00:00
parent cbcb463b3c
commit 60860eb36d
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2007-09-27 Jason Rumney <jasonr@gnu.org>
* makefile.w32-in (LIBS): Add COMCTL32.
* w32fns.c (globals_of_w32fns): Init common controls.
2007-09-21 Richard Stallman <rms@gnu.org>
* image.c (our_memory_buffer): Renamed from omfib_buffer.

View file

@ -48,6 +48,7 @@ Boston, MA 02110-1301, USA. */
#include "bitmaps/gray.xbm"
#include <commctrl.h>
#include <commdlg.h>
#include <shellapi.h>
#include <ctype.h>
@ -9073,6 +9074,9 @@ void globals_of_w32fns ()
&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