Commit 1daef109 authored by Pierre Ynard's avatar Pierre Ynard
Browse files

WinCE: fix previous broken commit

Still untested
parent 6a2e4014
......@@ -60,6 +60,9 @@
UINT GetMenuState(HMENU hMenu, UINT id, UINT flags)
memset(&info, 0, sizeof(info));
info.cbSize = sizeof(info);
info.fMask = MIIM_STATE;
if (!GetMenuItemInfo(hMenu, id, (flags & MF_BYPOSITION) != 0, &info))
return -1;
/* XXX Submenu handling is missing... */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment