changeset 41639:0c5ab6e27a8f

(w32_read_socket) <WM_MENUSELECT>: Remove. (w32_read_socket): Use EQ to compare frames.
author Jason Rumney <jasonr@gnu.org>
date Wed, 28 Nov 2001 20:36:12 +0000
parents aadcf676d5de
children 963149bd6f3e
files src/w32term.c
diffstat 1 files changed, 1 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.c	Wed Nov 28 20:34:46 2001 +0000
+++ b/src/w32term.c	Wed Nov 28 20:36:12 2001 +0000
@@ -176,8 +176,6 @@
 
 extern void free_frame_menubar ();
 
-extern void w32_menu_display_help (HMENU menu, UINT menu_item, UINT flags);
-
 extern int w32_codepage_for_font (char *fontname);
 
 extern glyph_metric *w32_BDF_TextMetric(bdffont *fontp,
@@ -8728,16 +8726,6 @@
             }
 	  break;
 
-        case WM_MENUSELECT:
-          {
-            HMENU menu = (HMENU) msg.msg.lParam;
-            UINT menu_item = (UINT) LOWORD (msg.msg.wParam);
-            UINT flags = (UINT) HIWORD (msg.msg.wParam);
-
-            w32_menu_display_help (menu, menu_item, flags);
-          }
-          break;
-
 	case WM_DROPFILES:
 	  f = x_window_to_frame (dpyinfo, msg.msg.hwnd);
 
@@ -9079,7 +9067,7 @@
 	  FRAME_PTR f = XFRAME (frame);
 	  /* The tooltip has been drawn already.  Avoid the
 	     SET_FRAME_GARBAGED below.  */
-	  if (f == XFRAME (tip_frame))
+	  if (EQ (frame, tip_frame))
 	    continue;
 
 	  /* Check "visible" frames and mark each as obscured or not.