OnIdle -> OnInternalIdle

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-07-09 17:15:09 +00:00
parent 74039d33c7
commit 5180055b69
11 changed files with 24 additions and 23 deletions

View File

@@ -4432,7 +4432,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxGenericListCtrl, wxControl)
BEGIN_EVENT_TABLE(wxGenericListCtrl,wxControl)
EVT_SIZE(wxGenericListCtrl::OnSize)
EVT_IDLE(wxGenericListCtrl::OnIdle)
END_EVENT_TABLE()
wxGenericListCtrl::wxGenericListCtrl()
@@ -5035,10 +5034,10 @@ void wxGenericListCtrl::ResizeReportView(bool showHeader)
}
}
void wxGenericListCtrl::OnIdle( wxIdleEvent & event )
void wxGenericListCtrl::OnInternalIdle()
{
event.Skip();
wxWindow::OnInternalIdle();
// do it only if needed
if ( !m_mainWin->m_dirty )
return;