Avoid changing the activation state in EnableMenuItem.
This commit is contained in:
parent
016e059e80
commit
a833f63783
|
@ -3227,7 +3227,7 @@ UINT WINAPI EnableMenuItem( HMENU hMenu, UINT wItemID, UINT wFlags )
|
|||
|
||||
/* Refresh the frame to reflect the change*/
|
||||
SetWindowPos(parentMenu->hWnd, 0, 0, 0, 0, 0,
|
||||
SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER);
|
||||
SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue