Mercurial > hg > xemacs-beta
comparison src/event-msw.c @ 420:41dbb7a9d5f2 r21-2-18
Import from CVS: tag r21-2-18
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:24:09 +0200 |
parents | e804706bfb8c |
children | 95016f13131a |
comparison
equal
deleted
inserted
replaced
419:66615b78f1a5 | 420:41dbb7a9d5f2 |
---|---|
69 #elif defined(__CYGWIN32__) | 69 #elif defined(__CYGWIN32__) |
70 typedef unsigned int SOCKET; | 70 typedef unsigned int SOCKET; |
71 #endif | 71 #endif |
72 #include <io.h> | 72 #include <io.h> |
73 #include <errno.h> | 73 #include <errno.h> |
74 | |
75 #if defined (__CYGWIN32__) && !defined (CYGWIN_VERSION_DLL_MAJOR) | |
76 typedef NMHDR *LPNMHDR; | |
77 #endif | |
74 | 78 |
75 #ifdef HAVE_MENUBARS | 79 #ifdef HAVE_MENUBARS |
76 #define ADJR_MENUFLAG TRUE | 80 #define ADJR_MENUFLAG TRUE |
77 #else | 81 #else |
78 #define ADJR_MENUFLAG FALSE | 82 #define ADJR_MENUFLAG FALSE |
1927 break; | 1931 break; |
1928 | 1932 |
1929 case WM_NOTIFY: | 1933 case WM_NOTIFY: |
1930 { | 1934 { |
1931 LPNMHDR nmhdr = (LPNMHDR)lParam; | 1935 LPNMHDR nmhdr = (LPNMHDR)lParam; |
1932 int idCtrl = (int)wParam; | |
1933 | 1936 |
1934 if (nmhdr->code == TTN_NEEDTEXT) | 1937 if (nmhdr->code == TTN_NEEDTEXT) |
1935 { | 1938 { |
1936 #ifdef HAVE_TOOLBARS | 1939 #ifdef HAVE_TOOLBARS |
1937 LPTOOLTIPTEXT tttext = (LPTOOLTIPTEXT)lParam; | 1940 LPTOOLTIPTEXT tttext = (LPTOOLTIPTEXT)lParam; |