~ubuntu-branches/ubuntu/wily/wxwidgets3.0/wily-proposed

« back to all changes in this revision

Viewing changes to src/common/datavcmn.cpp

  • Committer: Package Import Robot
  • Author(s): Olly Betts
  • Date: 2014-06-18 12:42:22 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140618124222-y7t2vpsije1cesxy
Tags: 3.0.1-1
* New upstream release
  + Incorporates most of the patches we were carrying - only one left is:
    wx-config-conditionalise-webview-in-std.patch
* Drop versioning of dependencies from run-time libraries to wx-common -
  this will make the transition to the next wx version harder, and also
  makes backporting to wheezy more work.
* Mark -dbg packages as "Multi-Arch: same".
* Correct short descriptions of the webview packages to not just be
  copies of the corresponding media package's short description.
* Wrap 81 character line in package description.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1790
1790
    Reset( 0 );
1791
1791
}
1792
1792
 
 
1793
void wxDataViewListStore::ClearColumns()
 
1794
{
 
1795
    m_cols.clear();
 
1796
}
 
1797
 
1793
1798
void wxDataViewListStore::SetItemData( const wxDataViewItem& item, wxUIntPtr data )
1794
1799
{
1795
1800
    wxDataViewListStoreLine* line = m_data[GetRow(item)];
1880
1885
 
1881
1886
bool wxDataViewListCtrl::PrependColumn( wxDataViewColumn *col )
1882
1887
{
1883
 
    return PrependColumn( col, "string" );
 
1888
    return PrependColumn( col, col->GetRenderer()->GetVariantType() );
1884
1889
}
1885
1890
 
1886
1891
bool wxDataViewListCtrl::InsertColumn( unsigned int pos, wxDataViewColumn *col )
1887
1892
{
1888
 
    return InsertColumn( pos, col, "string" );
 
1893
    return InsertColumn( pos, col, col->GetRenderer()->GetVariantType() );
1889
1894
}
1890
1895
 
1891
1896
bool wxDataViewListCtrl::AppendColumn( wxDataViewColumn *col )
1892
1897
{
1893
 
    return AppendColumn( col, "string" );
 
1898
    return AppendColumn( col, col->GetRenderer()->GetVariantType() );
 
1899
}
 
1900
 
 
1901
bool wxDataViewListCtrl::ClearColumns()
 
1902
{
 
1903
    GetStore()->ClearColumns();
 
1904
    return wxDataViewCtrl::ClearColumns();
1894
1905
}
1895
1906
 
1896
1907
wxDataViewColumn *wxDataViewListCtrl::AppendTextColumn( const wxString &label,