changeset 6480:c6cafb1168b3

(Fx_create_frame): Call initialize_frame_menubar.
author Fred Pierresteguy <F.Pierresteguy@frcl.bull.fr>
date Wed, 23 Mar 1994 18:22:13 +0000
parents 855f4f2d24da
children 55236c5bca7c
files src/xfns.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Wed Mar 23 18:19:20 1994 +0000
+++ b/src/xfns.c	Wed Mar 23 18:22:13 1994 +0000
@@ -75,6 +75,7 @@
 Widget Xt_app_shell;
 
 extern void free_frame_menubar ();
+extern void free_frame_menubar ();
 #endif /* USE_X_TOOLKIT */
 
 #define min(a,b) ((a) < (b) ? (a) : (b))
@@ -2135,6 +2136,9 @@
      or making it visible won't work.  */
   Vframe_list = Fcons (frame, Vframe_list);
 
+  /* Compute the size of the menubar and display it.  */
+  initialize_frame_menubar (f);
+
   /* Make the window appear on the frame and enable display,
      unless the caller says not to.  */
   {