X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6842a71a5badd7fccaf6031e355b9260e3bda47f..3c96418b71850dff63106c9ac68637c7abba7b14:/include/wx/gtk/dataview.h diff --git a/include/wx/gtk/dataview.h b/include/wx/gtk/dataview.h index 1131a7430a..a86ebe1ed2 100644 --- a/include/wx/gtk/dataview.h +++ b/include/wx/gtk/dataview.h @@ -51,10 +51,30 @@ public: wxDataViewTextCell( const wxString &varianttype = wxT("string"), wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT ); + bool SetValue( const wxVariant &value ); + bool GetValue( wxVariant &value ); + protected: DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewTextCell) }; +// --------------------------------------------------------- +// wxDataViewToggleCell +// --------------------------------------------------------- + +class wxDataViewToggleCell: public wxDataViewCell +{ +public: + wxDataViewToggleCell( const wxString &varianttype = wxT("bool"), + wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT ); + + bool SetValue( const wxVariant &value ); + bool GetValue( wxVariant &value ); + +protected: + DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewToggleCell) +}; + // --------------------------------------------------------- // wxDataViewColumn // ---------------------------------------------------------