changeset 44097:e3dca9179494

(Fx_create_frame): Enable tool-bar when images are supported.
author Jason Rumney <jasonr@gnu.org>
date Fri, 22 Mar 2002 22:45:41 +0000
parents 2c2a8c707b7c
children b38366975f18
files src/w32fns.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32fns.c	Fri Mar 22 22:08:10 2002 +0000
+++ b/src/w32fns.c	Fri Mar 22 22:45:41 2002 +0000
@@ -5677,8 +5677,13 @@
   
   x_default_parameter (f, parms, Qmenu_bar_lines, make_number (1),
 		       "menuBar", "MenuBar", RES_TYPE_NUMBER);
-  x_default_parameter (f, parms, Qtool_bar_lines, make_number (HAVE_IMAGES),
+#ifdef HAVE_IMAGES
+  x_default_parameter (f, parms, Qtool_bar_lines, make_number (1),
                        "toolBar", "ToolBar", RES_TYPE_NUMBER);
+#else
+  x_default_parameter (f, parms, Qtool_bar_lines, make_number (0),
+                       "toolBar", "ToolBar", RES_TYPE_NUMBER);
+#endif
   x_default_parameter (f, parms, Qbuffer_predicate, Qnil,
 		       "bufferPredicate", "BufferPredicate", RES_TYPE_SYMBOL);
   x_default_parameter (f, parms, Qtitle, Qnil,