implement Update() properly for the generic wxListCtrl (see #10857)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5198,4 +5198,18 @@ void wxGenericListCtrl::Refresh(bool eraseBackground, const wxRect *rect)
|
||||
}
|
||||
}
|
||||
|
||||
void wxGenericListCtrl::Update()
|
||||
{
|
||||
if ( m_mainWin )
|
||||
{
|
||||
if ( m_mainWin->m_dirty )
|
||||
m_mainWin->RecalculatePositions();
|
||||
|
||||
m_mainWin->Update();
|
||||
}
|
||||
|
||||
if ( m_headerWin )
|
||||
m_headerWin->Update();
|
||||
}
|
||||
|
||||
#endif // wxUSE_LISTCTRL
|
||||
|
Reference in New Issue
Block a user