DescriptionFix max/min window menu items by calling the correct version of EnableMenuItem.
I moved the code that enabled these items to HWNDMessageHandler, but forgot to move the definition of the function. This wasn't a compile error because Win32 defines the same function with the same signature, in the global namespace. DOH!
I renamed the helper function to a unique name: EnableMenuItembyCommand to prevent this from happening again.
This change also moves ScopedRedrawLock to the top of the file, since it needs to be called in onInitMenu also.
http://crbug.com/144425
R=sky@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=153501
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|