]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/ScintillaWX.cpp
Applied patch [ 1121371 ] configtool NULL pointer accesses
[wxWidgets.git] / src / stc / ScintillaWX.cpp
index 779ac2a3df0daca99e3f195e256a89acf4026a5d..427a83e6bd689db728cf85d7b50e0aa6c7b3409a 100644 (file)
@@ -861,6 +861,7 @@ int  ScintillaWX::DoKeyDown(const wxKeyEvent& evt, bool* consumed)
     case WXK_ESCAPE:            key = SCK_ESCAPE;   break;
     case WXK_BACK:              key = SCK_BACK;     break;
     case WXK_TAB:               key = SCK_TAB;      break;
+    case WXK_NUMPAD_ENTER:      // fall through
     case WXK_RETURN:            key = SCK_RETURN;   break;
     case WXK_ADD:               // fall through
     case WXK_NUMPAD_ADD:        key = SCK_ADD;      break;