Author: jimtabor Date: Tue Jul 18 21:29:34 2006 New Revision: 23158
URL: http://svn.reactos.org/svn/reactos?rev=23158&view=rev Log: 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.
Modified: trunk/reactos/include/reactos/win32k/ntusrtyp.h
Modified: trunk/reactos/include/reactos/win32k/ntusrtyp.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/win32k/ntus... ============================================================================== --- trunk/reactos/include/reactos/win32k/ntusrtyp.h (original) +++ trunk/reactos/include/reactos/win32k/ntusrtyp.h Tue Jul 18 21:29:34 2006 @@ -164,6 +164,8 @@ /* ----------- 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