if (FRAME_X_P (f)
?
-#ifdef FRAME_EXTERNAL_MENU_BAR
+#if defined (USE_X_TOOLKIT) || defined (HAVE_NTGUI)
FRAME_EXTERNAL_MENU_BAR (f)
#else
FRAME_MENU_BAR_LINES (f) > 0
if (update_mode_line
&& (FRAME_X_P (f)
?
-#ifdef FRAME_EXTERNAL_MENU_BAR
+#if defined (USE_X_TOOLKIT) || defined (HAVE_NTGUI)
FRAME_EXTERNAL_MENU_BAR (f)
#else
FRAME_MENU_BAR_LINES (f) > 0
int hpos = 0;
int i;
-#if !defined (USE_X_TOOLKIT) && !defined (HAVE_NTGUI)
+#ifdef HAVE_NTGUI
+ return;
+#endif
+
+#ifdef USE_X_TOOLKIT
if (FRAME_X_P (f))
return;
-#endif /* not USE_X_TOOLKIT and not HAVE_NTGUI */
+#endif /* USE_X_TOOLKIT */
get_display_line (f, vpos, 0);