Ticket #22295: patch-src_MathCtrl.cpp.diff

File patch-src_MathCtrl.cpp.diff, 774 bytes (added by KubaO (Kuba Ober), 15 years ago)

fixes building with newest wxWidgets-2.9.0

  • src/MathCtrl.cpp

    old new  
    11301130    case WXK_BACK:
    11311131      if (CanDeleteSelection()) {
    11321132        wxCommandEvent ev(wxEVT_COMMAND_MENU_SELECTED, popid_delete);
    1133         GetParent()->ProcessEvent(ev);
     1133        GetParent()->ProcessWindowEvent(ev);
    11341134      } else
    11351135        event.Skip();
    11361136      break;
     
    11451145            enterEvaluates && !(event.ControlDown() || event.ShiftDown()))
    11461146        { // shift-enter pressed === menu_evaluate event
    11471147          wxCommandEvent ev(wxEVT_COMMAND_MENU_SELECTED, menu_evaluate);
    1148           GetParent()->ProcessEvent(ev);
     1148          GetParent()->ProcessWindowEvent(ev);
    11491149        } else
    11501150          event.Skip();
    11511151      }