Use idle time menu updating when using global menu bar in wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Nov 2012 00:15:49 +0000 (00:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Nov 2012 00:15:49 +0000 (00:15 +0000)
commite758b8f74153e43b785e6e9d1d014e51c752f35f
tree6d3eb3ee3a66863a4b2368d58bd68d3775676939
parent93c609c7373cc29da60a05926c6ba3a19e1cabb5
Use idle time menu updating when using global menu bar in wxGTK.

We don't get wxEVT_MENU_OPEN events when using the global menu bar so don't
rely on them for updating the menu items status and fall back to idle time
menu updating if the global menu bar is used.

This required changing wxUSE_IDLEMENUUPDATES tests from compile- to run-time
ones.

Closes #14302.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/frame.h
src/common/framecmn.cpp