X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d496ecbc48803b41b33e57d331895df5bfc7f56..84c3e788d6200d68384852e4c4785c09922ec499:/include/wx/gtk/dataview.h diff --git a/include/wx/gtk/dataview.h b/include/wx/gtk/dataview.h index 47d9a026b5..9afb521ac9 100644 --- a/include/wx/gtk/dataview.h +++ b/include/wx/gtk/dataview.h @@ -171,11 +171,17 @@ protected: 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; } @@ -221,7 +227,9 @@ public: private: friend class wxDataViewCtrlDC; - GtkWidget *m_treeview; + friend class wxGtkDataViewListModelNotifier; + GtkWidget *m_treeview; + wxDataViewListModelNotifier *m_notifier; private: DECLARE_DYNAMIC_CLASS(wxDataViewCtrl)