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:
Julian Smart 2003-07-15 10:24:30 +00:00
parent b8d6102177
commit e2b6d07d7a

View File

@ -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();