Added wxFrameBase::OnMenuOpen, and wxUSE_IDLEMENUUPDATES in platform.h
Experimental wxUpdateUIEvent::SetUpdateInterval() function to limit UI update frequency git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -327,5 +327,17 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Choose which method we will use for updating menus
|
||||
* - in OnIdle, or when we receive a wxEVT_MENU_OPEN event.
|
||||
* Presently, only Windows and GTK+ support wxEVT_MENU_OPEN.
|
||||
*/
|
||||
#ifndef wxUSE_IDLEMENUUPDATES
|
||||
#if defined(__WXMSW__) || defined(__WXGTK__)
|
||||
#define wxUSE_IDLEMENUUPDATES 0
|
||||
#else
|
||||
#define wxUSE_IDLEMENUUPDATES 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* _WX_PLATFORM_H_ */
|
||||
|
||||
|
Reference in New Issue
Block a user