From 83ef67c55018bce18ae2a5481ce68aa6845c9aa4 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Tue, 18 Jul 2006 17:29:34 +0000 Subject: [PATCH] Little patch, help distinguish between Bitmap and Text drawing or do both. dwTypeData is a pointer going to the user not the true text pointer of the menu item and should not be used for checking if menu item has text. svn path=/trunk/; revision=23158 --- reactos/include/reactos/win32k/ntusrtyp.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/include/reactos/win32k/ntusrtyp.h b/reactos/include/reactos/win32k/ntusrtyp.h index 93ba9cd8396..595b0ce6e5b 100644 --- a/reactos/include/reactos/win32k/ntusrtyp.h +++ b/reactos/include/reactos/win32k/ntusrtyp.h @@ -164,6 +164,8 @@ typedef struct tagROSMENUITEMINFO /* ----------- Extra ----------- */ RECT Rect; /* Item area (relative to menu window) */ UINT XTab; /* X position of text after Tab */ + LPWSTR Text; /* Copy of the text pointer in MenuItem->Text + */ } ROSMENUITEMINFO, *PROSMENUITEMINFO; #endif