X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7a201b94e6b6160cb1d2b08d56f88941239ca56..68d4172048cfc0f3e658ef90ff5af926eedfdd57:/src/univ/listbox.cpp diff --git a/src/univ/listbox.cpp b/src/univ/listbox.cpp index 7ae71b51fe..4612caa01d 100644 --- a/src/univ/listbox.cpp +++ b/src/univ/listbox.cpp @@ -49,8 +49,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxListBox, wxControl) BEGIN_EVENT_TABLE(wxListBox, wxListBoxBase) EVT_SIZE(wxListBox::OnSize) - - EVT_IDLE(wxListBox::OnIdle) END_EVENT_TABLE() // ---------------------------------------------------------------------------- @@ -601,7 +599,7 @@ void wxListBox::UpdateItems() } } -void wxListBox::OnIdle(wxIdleEvent& event) +void wxListBox::OnInternalIdle() { if ( m_updateScrollbarY || m_updateScrollbarX ) { @@ -624,8 +622,6 @@ void wxListBox::OnIdle(wxIdleEvent& event) m_updateCount = 0; } - - event.Skip(); } // ----------------------------------------------------------------------------