added wxDataViewToggleCell

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2006-02-24 13:19:23 +00:00
parent f081c944e8
commit 605c2c4ac6
5 changed files with 153 additions and 16 deletions

View File

@@ -58,6 +58,23 @@ 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
// ---------------------------------------------------------