From: Robert Roebling Date: Mon, 15 Jun 2009 19:36:59 +0000 (+0000) Subject: Correct wxDataViewListModel::RowPrepended X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b879becf6af686ab38d1c67799d837c64fb4833d Correct wxDataViewListModel::RowPrepended git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/datavcmn.cpp b/src/common/datavcmn.cpp index 91fa8da281..d7b9b7d7af 100644 --- a/src/common/datavcmn.cpp +++ b/src/common/datavcmn.cpp @@ -510,7 +510,7 @@ void wxDataViewVirtualListModel::Reset( unsigned int new_size ) void wxDataViewVirtualListModel::RowPrepended() { m_lastIndex++; - wxDataViewItem item( NULL ); + wxDataViewItem item( wxUIntToPtr(1) ); ItemAdded( wxDataViewItem(0), item ); }