mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 00:13:57 +00:00
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
This commit is contained in:
parent
8c7446addd
commit
83ef67c550
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue