X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2bfe6731edfca732418012b03438db85b4aa0dd..96defed03c190cb602ed4f7ca6e962a49e10dddd:/include/wx/gtk/dataview.h diff --git a/include/wx/gtk/dataview.h b/include/wx/gtk/dataview.h index bf647cc0d3..d197acaf36 100644 --- a/include/wx/gtk/dataview.h +++ b/include/wx/gtk/dataview.h @@ -331,7 +331,7 @@ public: virtual bool IsSortable() const; virtual bool IsSortOrderAscending() const; - virtual bool IsSortKey() const = 0; + virtual bool IsSortKey() const; virtual bool IsResizeable() const; virtual bool IsHidden() const; @@ -361,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, @@ -431,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); @@ -462,7 +463,7 @@ private: void GtkDisableSelectionEvents(); DECLARE_DYNAMIC_CLASS(wxDataViewCtrl) - DECLARE_NO_COPY_CLASS(wxDataViewCtrl) + wxDECLARE_NO_COPY_CLASS(wxDataViewCtrl); };