]> git.saurik.com Git - wxWidgets.git/commitdiff
wxMac (and maybe others?) get PAGEUP/PAGEDOWN instead of NEXT/PRIOR
authorRobin Dunn <robin@alldunn.com>
Fri, 17 Jan 2003 22:52:50 +0000 (22:52 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 17 Jan 2003 22:52:50 +0000 (22:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/stc/ScintillaWX.cpp
src/stc/ScintillaWX.cpp

index b4127a7a5497558f35a2e8e93b4d40c2fcbb82b6..12ad21dafe4403a3aeab97d9023096c8c87ba02b 100644 (file)
@@ -670,7 +670,9 @@ int  ScintillaWX::DoKeyDown(int key, bool shift, bool ctrl, bool alt, bool* cons
     case WXK_RIGHT:             key = SCK_RIGHT;    break;
     case WXK_HOME:              key = SCK_HOME;     break;
     case WXK_END:               key = SCK_END;      break;
+    case WXK_PAGEUP:            // fall through
     case WXK_PRIOR:             key = SCK_PRIOR;    break;
+    case WXK_PAGEDOWN:          // fall through
     case WXK_NEXT:              key = SCK_NEXT;     break;
     case WXK_DELETE:            key = SCK_DELETE;   break;
     case WXK_INSERT:            key = SCK_INSERT;   break;
index b4127a7a5497558f35a2e8e93b4d40c2fcbb82b6..12ad21dafe4403a3aeab97d9023096c8c87ba02b 100644 (file)
@@ -670,7 +670,9 @@ int  ScintillaWX::DoKeyDown(int key, bool shift, bool ctrl, bool alt, bool* cons
     case WXK_RIGHT:             key = SCK_RIGHT;    break;
     case WXK_HOME:              key = SCK_HOME;     break;
     case WXK_END:               key = SCK_END;      break;
+    case WXK_PAGEUP:            // fall through
     case WXK_PRIOR:             key = SCK_PRIOR;    break;
+    case WXK_PAGEDOWN:          // fall through
     case WXK_NEXT:              key = SCK_NEXT;     break;
     case WXK_DELETE:            key = SCK_DELETE;   break;
     case WXK_INSERT:            key = SCK_INSERT;   break;