]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/menu.cpp
Added headers that didn't get installed.
[wxWidgets.git] / src / univ / menu.cpp
index bba605997faaeaad5ebdf24fe0b89f32b0bf7628..a4e117655227f453b38a2058a77cae2f6b32b8ff 100644 (file)
@@ -2463,8 +2463,7 @@ bool wxWindow::DoPopupMenu(wxMenu *menu, int x, int y)
     wxLog::FlushActive();
 
     // some controls update themselves from OnIdle() call - let them do it
-    wxIdleEvent event;
-    wxTheApp->ProcessEvent(event);
+    wxTheApp->ProcessIdle();
 
     // if the window hadn't been refreshed yet, the menu can adversely affect
     // its next OnPaint() handler execution - i.e. scrolled window refresh