Ticket #22295: patch-src_MathCtrl.cpp.diff
File patch-src_MathCtrl.cpp.diff, 774 bytes (added by KubaO (Kuba Ober), 15 years ago) |
---|
-
src/MathCtrl.cpp
old new 1130 1130 case WXK_BACK: 1131 1131 if (CanDeleteSelection()) { 1132 1132 wxCommandEvent ev(wxEVT_COMMAND_MENU_SELECTED, popid_delete); 1133 GetParent()->Process Event(ev);1133 GetParent()->ProcessWindowEvent(ev); 1134 1134 } else 1135 1135 event.Skip(); 1136 1136 break; … … 1145 1145 enterEvaluates && !(event.ControlDown() || event.ShiftDown())) 1146 1146 { // shift-enter pressed === menu_evaluate event 1147 1147 wxCommandEvent ev(wxEVT_COMMAND_MENU_SELECTED, menu_evaluate); 1148 GetParent()->Process Event(ev);1148 GetParent()->ProcessWindowEvent(ev); 1149 1149 } else 1150 1150 event.Skip(); 1151 1151 }