X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..f0ccd2cbfa0b4ac110b81626da5a184b650b1080:/src/motif/window.cpp diff --git a/src/motif/window.cpp b/src/motif/window.cpp index 0d3e0b548e..c539b36fba 100644 --- a/src/motif/window.cpp +++ b/src/motif/window.cpp @@ -35,6 +35,7 @@ #include "wx/layout.h" #include "wx/menuitem.h" #include "wx/module.h" + #include "wx/unix/utilsx11.h" #endif #include "wx/evtloop.h" @@ -1083,7 +1084,6 @@ bool wxWindow::DoPopupMenu(wxMenu *menu, int x, int y) menu->SetId(1); /* Mark as popped-up */ menu->CreateMenu(NULL, widget, menu, 0); - menu->SetInvokingWindow(this); menu->UpdateUI();