virtual bool Render( wxRect cell, wxDC *dc, int state );
virtual wxSize GetSize() const;
- virtual bool HasEditorCtrl() { return true; }
+ virtual bool HasEditorCtrl() const { return true; }
virtual wxControl* CreateEditorCtrl( wxWindow *parent, wxRect labelRect, const wxVariant &value );
virtual bool GetValueFromEditorCtrl( wxControl* editor, wxVariant &value );
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;
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,
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);
void GtkDisableSelectionEvents();
DECLARE_DYNAMIC_CLASS(wxDataViewCtrl)
- DECLARE_NO_COPY_CLASS(wxDataViewCtrl)
+ wxDECLARE_NO_COPY_CLASS(wxDataViewCtrl);
};