mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 04:14:53 +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
1 changed files with 2 additions and 0 deletions
|
@ -164,6 +164,8 @@ typedef struct tagROSMENUITEMINFO
|
||||||
/* ----------- Extra ----------- */
|
/* ----------- Extra ----------- */
|
||||||
RECT Rect; /* Item area (relative to menu window) */
|
RECT Rect; /* Item area (relative to menu window) */
|
||||||
UINT XTab; /* X position of text after Tab */
|
UINT XTab; /* X position of text after Tab */
|
||||||
|
LPWSTR Text; /* Copy of the text pointer in MenuItem->Text
|
||||||
|
*/
|
||||||
} ROSMENUITEMINFO, *PROSMENUITEMINFO;
|
} ROSMENUITEMINFO, *PROSMENUITEMINFO;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue