]> git.eshelyaron.com Git - emacs.git/commitdiff
(globals_of_w32fns): Init common controls.
authorJason Rumney <jasonr@gnu.org>
Thu, 27 Sep 2007 22:10:53 +0000 (22:10 +0000)
committerJason Rumney <jasonr@gnu.org>
Thu, 27 Sep 2007 22:10:53 +0000 (22:10 +0000)
src/ChangeLog
src/w32fns.c

index 3875f081c8b0d286c33aab822166336411197f05..cbba8f5d3d5c00df084f635a3746b9d68e8b992d 100644 (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.
index be3570231dcc2745d24094a081d19d9a42f75765..d260b0d9be966499bd7ab1c7892f158e55042d84 100644 (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