Split wxDataViewVirtualModel fork wxDataViewIndexModel to make the code clearer and let wxDataViewIndexModel behave the same on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3351,7 +3351,7 @@ void wxDataViewMainWindow::BuildTree(wxDataViewModel * model)
|
||||
{
|
||||
DestroyTree();
|
||||
|
||||
if (GetOwner()->GetModel()->IsIndexListModel())
|
||||
if (GetOwner()->GetModel()->IsVirtualListModel())
|
||||
{
|
||||
m_count = -1 ;
|
||||
return;
|
||||
|
Reference in New Issue
Block a user