]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dataview.h
Make wx{List,Tree}Ctrl resize their standard font if the user changes the system...
[wxWidgets.git] / include / wx / gtk / dataview.h
index 1131a7430adef7a084315facd2b25db134dafb8a..a86ebe1ed253587f4fa06752ee03054bf25800a4 100644 (file)
@@ -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
 // ---------------------------------------------------------