class WXDLLIMPEXP_CORE wxDataViewColumn: public wxDataViewColumnBase
{
public:
- wxDataViewColumn( const wxString &title, wxDataViewCell *cell, size_t model_column, int flags = 0 );
+ wxDataViewColumn( const wxString &title, wxDataViewCell *cell, size_t model_column,
+ int fixed_width = 80, wxDataViewColumnSizing sizing = wxDATAVIEW_COL_WIDTH_FIXED, int flags = 0 );
virtual ~wxDataViewColumn();
virtual void SetTitle( const wxString &title );
+ virtual int GetWidth();
+
+ virtual void SetFixedWidth( int width );
+ virtual int GetFixedWidth();
+
// implementation
void* GetGtkHandle() { return m_column; }
private:
friend class wxDataViewCtrlDC;
friend class wxGtkDataViewListModelNotifier;
- GtkWidget *m_treeview;
+ GtkWidget *m_treeview;
+ wxDataViewListModelNotifier *m_notifier;
private:
DECLARE_DYNAMIC_CLASS(wxDataViewCtrl)