X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bc0289bf5e29def4ba504807e45d6b7daf917fad..e1ef506e13b7c8e96483b7fc0852dcb46688badd:/include/wx/gtk/dataview.h?ds=inline diff --git a/include/wx/gtk/dataview.h b/include/wx/gtk/dataview.h index 862dfb2ec3..f08f50f26d 100644 --- a/include/wx/gtk/dataview.h +++ b/include/wx/gtk/dataview.h @@ -300,8 +300,6 @@ public: wxAlignment align = wxALIGN_CENTER, int flags = wxDATAVIEW_COL_RESIZABLE ); - virtual ~wxDataViewColumn(); - // setters: @@ -314,6 +312,7 @@ public: virtual void SetSortable( bool sortable ); virtual void SetSortOrder( bool ascending ); + virtual void SetAsSortKey(bool sort = true); virtual void SetResizeable( bool resizeable ); virtual void SetHidden( bool hidden ); @@ -332,6 +331,8 @@ public: virtual bool IsSortable() const; virtual bool IsSortOrderAscending() const; + virtual bool IsSortKey() const; + virtual bool IsResizeable() const; virtual bool IsHidden() const; @@ -360,9 +361,6 @@ private: bool m_isConnected; void Init(wxAlignment align, int flags, int width); - -protected: - DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewColumn) }; WX_DECLARE_LIST_WITH_DECL(wxDataViewColumn, wxDataViewColumnList, @@ -430,6 +428,10 @@ public: virtual void Expand( const wxDataViewItem & item ); virtual void Collapse( const wxDataViewItem & item ); + virtual bool IsExpanded( const wxDataViewItem & item ) const; + + virtual bool EnableDragSource( const wxDataFormat &format ); + virtual bool EnableDropTarget( const wxDataFormat &format ); static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);