#9675: wxDataViewModel::Reset() and scrollbar problem (wxMac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -475,6 +475,7 @@ public:
|
|||||||
wxDataViewItemArray array;
|
wxDataViewItemArray array;
|
||||||
GetOwner()->GetChildren( item, array );
|
GetOwner()->GetChildren( item, array );
|
||||||
ItemsAdded( item, array );
|
ItemsAdded( item, array );
|
||||||
|
this->m_dataViewControlPtr->SetScrollPosition(0, 0);
|
||||||
return noFailureFlag;
|
return noFailureFlag;
|
||||||
} /* Cleared() */
|
} /* Cleared() */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user