fixed bug #1466486 - typo and menu problems in MakeNSISw
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4651 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
a4724a1d6b
commit
4d12c5a857
8 changed files with 49 additions and 32 deletions
|
@ -920,3 +920,17 @@ BOOL FileExists(char *fname)
|
|||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
HMENU FindSubMenu(HMENU hMenu, UINT uId)
|
||||
{
|
||||
MENUITEMINFO mii = {
|
||||
sizeof(MENUITEMINFO),
|
||||
MIIM_SUBMENU,
|
||||
};
|
||||
|
||||
mii.hSubMenu = NULL;
|
||||
|
||||
GetMenuItemInfo(hMenu, uId, FALSE, &mii);
|
||||
|
||||
return mii.hSubMenu;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue