Added/Fixed some things in wxGetKeyState

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton
2003-12-28 22:46:08 +00:00
parent 6503f634a9
commit 15c2acd23d
2 changed files with 6 additions and 4 deletions

View File

@@ -1762,6 +1762,7 @@ int wxKeyCodeToMacModifier(wxKeyCode key)
switch (key)
{
case WXK_START:
case WXK_MENU:
return cmdKey;
case WXK_SHIFT:
@@ -1770,8 +1771,8 @@ int wxKeyCodeToMacModifier(wxKeyCode key)
case WXK_CAPITAL:
return alphaLock;
// case WXK_OPTION:
// return optionKey;
case WXK_ALT:
return optionKey;
case WXK_CONTROL:
return controlKey;

View File

@@ -1762,6 +1762,7 @@ int wxKeyCodeToMacModifier(wxKeyCode key)
switch (key)
{
case WXK_START:
case WXK_MENU:
return cmdKey;
case WXK_SHIFT:
@@ -1770,8 +1771,8 @@ int wxKeyCodeToMacModifier(wxKeyCode key)
case WXK_CAPITAL:
return alphaLock;
// case WXK_OPTION:
// return optionKey;
case WXK_ALT:
return optionKey;
case WXK_CONTROL:
return controlKey;