]> code.delx.au - gnu-emacs/commitdiff
(display_menu_bar) [HAVE_NTGUI]: Check frame type.
authorJason Rumney <jasonr@gnu.org>
Tue, 15 May 2007 23:06:27 +0000 (23:06 +0000)
committerJason Rumney <jasonr@gnu.org>
Tue, 15 May 2007 23:06:27 +0000 (23:06 +0000)
src/xdisp.c

index 42c579f5cbb6f3350575f3f5fac36b84751da6af..da2c0e7c7a07453182d80f8b1b4ce69b372f383d 100644 (file)
@@ -16466,7 +16466,7 @@ display_menu_bar (w)
 
   /* Don't do all this for graphical frames.  */
 #ifdef HAVE_NTGUI
-  if (!NILP (Vwindow_system))
+  if (FRAME_W32_P (f))
     return;
 #endif
 #if defined (USE_X_TOOLKIT) || defined (USE_GTK)