Ticket #13683: 13683_fix_multiple_ContextMenuEv.diff

File 13683_fix_multiple_ContextMenuEv.diff, 671 bytes (added by catalin, 5 years ago)
  • src/msw/window.cpp

     src/msw/window.cpp | 5 ++++-
     1 file changed, 4 insertions(+), 1 deletion(-)
    
    diff --git a/src/msw/window.cpp b/src/msw/window.cpp
    index 2404c9a..462d4c7 100644
    a b wxWindowMSW::MSWHandleMessage(WXLRESULT *result, 
    34523452                    win = this;
    34533453
    34543454                evtCtx.SetEventObject(win);
    3455                 processed = win->HandleWindowEvent(evtCtx);
     3455                win->HandleWindowEvent(evtCtx);
     3456                // just like wxHelpEvent above, wxContextMenuEvent is derived
     3457                // from wxCommandEvent
     3458                processed = true;
    34563459            }
    34573460            break;
    34583461#endif