X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/baa9ebc473dba4e4ca0c4f288e6ed7c8c277295e..dc484d491b15355285a89da275c58c2ef247d1f4:/include/wx/generic/dataview.h?ds=inline diff --git a/include/wx/generic/dataview.h b/include/wx/generic/dataview.h index d16295a0a5..a8800e37aa 100644 --- a/include/wx/generic/dataview.h +++ b/include/wx/generic/dataview.h @@ -216,9 +216,19 @@ class WXDLLIMPEXP_ADV wxDataViewColumn: public wxDataViewColumnBase public: wxDataViewColumn( const wxString &title, wxDataViewRenderer *renderer, unsigned int model_column, int width = 80, int flags = wxDATAVIEW_COL_RESIZABLE ); + wxDataViewColumn( const wxBitmap &bitmap, wxDataViewRenderer *renderer, unsigned int model_column, + int width = 80, int flags = wxDATAVIEW_COL_RESIZABLE ); virtual ~wxDataViewColumn(); virtual void SetTitle( const wxString &title ); + virtual void SetBitmap( const wxBitmap &bitmap ); + + virtual void SetAlignment( wxAlignment align ); + + virtual void SetSortable( bool sortable ); + virtual bool GetSortable(); + virtual void SetSortOrder( bool ascending ); + virtual bool IsSortOrderAscending(); virtual int GetWidth(); @@ -267,6 +277,7 @@ public: virtual void SetSelection( int row ); // -1 for unselect virtual void SetSelectionRange( unsigned int from, unsigned int to ); virtual void SetSelections( const wxArrayInt& aSelections); + virtual void Unselect( unsigned int row ); virtual bool IsSelected( unsigned int row ) const; virtual int GetSelection() const;