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:
@@ -1184,7 +1184,8 @@ void wxWindowMSW::OnIdle(wxIdleEvent& WXUNUSED(event))
|
||||
}
|
||||
}
|
||||
|
||||
UpdateWindowUI();
|
||||
if (wxUpdateUIEvent::CanUpdate())
|
||||
UpdateWindowUI();
|
||||
}
|
||||
|
||||
// Set this window to be the child of 'parent'.
|
||||
|
Reference in New Issue
Block a user