X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa89a22b8e47000c98bff05c6f545f331f1c353..c89d41600b3fd4e61893cf69bec4e44f14b5f9e3:/src/univ/menu.cpp diff --git a/src/univ/menu.cpp b/src/univ/menu.cpp index bba605997f..a4e1176552 100644 --- a/src/univ/menu.cpp +++ b/src/univ/menu.cpp @@ -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