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:
James Tabor 2006-07-18 17:29:34 +00:00
parent 8c7446addd
commit 83ef67c550

View file

@ -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