]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/menu.cpp
removed src/gtk/eggtrayicon.h
[wxWidgets.git] / src / univ / menu.cpp
index eb4ea7cf8f2838df9ca533667a5f23f9c8058a6d..ac1b1a3e9176cd1f370e6d587f82f2298bb46662 100644 (file)
@@ -2411,6 +2411,8 @@ void wxMenuBar::PopupCurrentMenu(bool selectFirst)
             // item, not to the right of it
             wxRect rectItem = GetItemRect(m_current);
 
+            m_menuShown->SetInvokingWindow(m_frameLast);
+
             m_menuShown->Popup(ClientToScreen(rectItem.GetPosition()),
                                wxSize(0, rectItem.GetHeight()),
                                selectFirst);