Added call to top-level window OnInternalIdle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b8d6102177
commit
e2b6d07d7a
@ -250,6 +250,8 @@ void wxFrameBase::OnMenuHighlight(wxMenuEvent& event)
|
|||||||
// Implement internal behaviour (menu updating on some platforms)
|
// Implement internal behaviour (menu updating on some platforms)
|
||||||
void wxFrameBase::OnInternalIdle()
|
void wxFrameBase::OnInternalIdle()
|
||||||
{
|
{
|
||||||
|
wxTopLevelWindow::OnInternalIdle();
|
||||||
|
|
||||||
#if wxUSE_MENUS && wxUSE_IDLEMENUUPDATES
|
#if wxUSE_MENUS && wxUSE_IDLEMENUUPDATES
|
||||||
if (wxUpdateUIEvent::CanUpdate(this))
|
if (wxUpdateUIEvent::CanUpdate(this))
|
||||||
DoMenuUpdates();
|
DoMenuUpdates();
|
||||||
|
Loading…
Reference in New Issue
Block a user