fix checkable WMenuItem event handling