Fixed "menu" bug under Windows

This commit is contained in:
unknown 2012-01-20 00:05:52 -05:00
parent b1fc74b180
commit 0500275928
1 changed files with 3 additions and 2 deletions

View File

@ -85,8 +85,9 @@ class WinMessageReflector(object):
try: try:
code = HIWORD(wParam) code = HIWORD(wParam)
id = LOWORD(wParam) id = LOWORD(wParam)
if id: if id != 0:
self._win_menu_command(id) if self != win_none_wrapper:
self._win_menu_command(id)
else: else:
name = win_command_map.get(code) name = win_command_map.get(code)
if name: if name: