]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing correct delete key
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 13 Jun 2013 14:12:11 +0000 (14:12 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 13 Jun 2013 14:12:11 +0000 (14:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/carbon/app.cpp

index 4f7c331b8c3c3404e23a1a13f3f42b093a2d7493..f33ac195cc525b8e1e65d735ad5dd7f17ccc853c 100644 (file)
@@ -1138,7 +1138,7 @@ CGKeyCode wxCharCodeWXToOSX(wxKeyCode code)
         case WXK_RETURN:      keycode = kVK_Return; break;
         case WXK_ESCAPE:      keycode = kVK_Escape; break;
         case WXK_SPACE:       keycode = kVK_Space; break;
-        case WXK_DELETE:      keycode = kVK_Delete; break;
+        case WXK_DELETE:      keycode = kVK_ForwardDelete; break;
             
         case WXK_SHIFT:       keycode = kVK_Shift; break;
         case WXK_ALT:         keycode = kVK_Option; break;