Old MinGW somehow has the TRIVERTEX struct unprotected but GRADIENT_FILL_* behind WINVER >= 0x0500 and GradientFill behind WINVER >= 0x0410

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7045 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2018-11-07 02:36:21 +00:00
parent bfb5c0d76e
commit 1d5d59eb24
3 changed files with 9 additions and 7 deletions

View file

@ -247,10 +247,4 @@ typedef struct ToolTipStruct {
HHOOK hook;
} NTOOLTIP;
static void EnableUICommand(UINT Id, INT_PTR Enabled)
{
EnableToolBarButton(Id, !!Enabled);
EnableMenuItem(g_sdata.menu, Id, Enabled ? MF_ENABLED : MF_GRAYED);
}
#endif