1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 05:51:21 -08:00

(display_menu_bar) [HAVE_NTGUI]: Check frame type.

This commit is contained in:
Jason Rumney 2007-05-15 23:06:27 +00:00
parent 7e166218fc
commit ea7074b401

View 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)