X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/453091c26978d6da004ab46c78c719d7f9444ae3..3b49331b7441e091fc5997b830801d76a1243f28:/include/wx/generic/dataview.h?ds=sidebyside diff --git a/include/wx/generic/dataview.h b/include/wx/generic/dataview.h index 55f0bce58b..efa5a11c74 100644 --- a/include/wx/generic/dataview.h +++ b/include/wx/generic/dataview.h @@ -99,6 +99,8 @@ public: wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT, int align = wxDVR_DEFAULT_ALIGNMENT ); + void RenderText( const wxString &text, int xoffset, wxRect cell, wxDC *dc, int state ); + protected: DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewCustomRenderer) }; @@ -343,7 +345,8 @@ protected: // wxDataViewCtrl // --------------------------------------------------------- -WX_DECLARE_LIST(wxDataViewColumn, wxDataViewColumnList ); +WX_DECLARE_LIST_WITH_DECL(wxDataViewColumn, wxDataViewColumnList, + class WXDLLIMPEXP_ADV); class WXDLLIMPEXP_ADV wxDataViewCtrl: public wxDataViewCtrlBase, public wxScrollHelperNative @@ -383,6 +386,7 @@ public: virtual bool AssociateModel( wxDataViewModel *model ); virtual bool AppendColumn( wxDataViewColumn *col ); + virtual bool PrependColumn( wxDataViewColumn *col ); virtual void DoSetExpanderColumn(); virtual void DoSetIndent();