[PATCH] user32/menu: Store application defined value as pointer
Fabian Maurer
dark.shadow4 at web.de
Thu Sep 10 02:06:49 CDT 2020
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49805
Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
---
dlls/user32/menu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/user32/menu.c b/dlls/user32/menu.c
index 3b1e3f25f42..59c2083c17c 100644
--- a/dlls/user32/menu.c
+++ b/dlls/user32/menu.c
@@ -104,7 +104,7 @@ typedef struct {
UINT cyMax; /* max height of the whole menu, 0 is screen height */
HBRUSH hbrBack; /* brush for menu background */
DWORD dwContextHelpID;
- DWORD dwMenuData; /* application defined value */
+ ULONG_PTR dwMenuData; /* application defined value */
HMENU hSysMenuOwner; /* Handle to the dummy sys menu holder */
WORD textOffset; /* Offset of text when items have both bitmaps and text */
} POPUPMENU, *LPPOPUPMENU;
--
2.28.0
More information about the wine-devel
mailing list