]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dataview.h
adopting correct implementation virtualization for Do/GradientFillConcentric
[wxWidgets.git] / include / wx / gtk / dataview.h
index 9afb521ac9ab87e4e8d0d0597454889c7b77a78a..c31e2fc50b0496ccdd80787a8badbce7c224d82d 100644 (file)
@@ -58,6 +58,23 @@ protected:
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewTextCell)
 };
     
+// --------------------------------------------------------- 
+// wxDataViewBitmapCell
+// --------------------------------------------------------- 
+
+class wxDataViewBitmapCell: public wxDataViewCell
+{
+public:
+    wxDataViewBitmapCell( const wxString &varianttype = wxT("wxBitmap"), 
+                        wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT );
+
+    bool SetValue( const wxVariant &value );
+    bool GetValue( wxVariant &value );
+    
+protected:
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewBitmapCell)
+};
+    
 // --------------------------------------------------------- 
 // wxDataViewToggleCell
 // --------------------------------------------------------- 
@@ -85,7 +102,7 @@ public:
     wxDataViewCustomCell( const wxString &varianttype = wxT("string"), 
                           wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
                           bool no_init = false );
-    ~wxDataViewCustomCell();
+    virtual ~wxDataViewCustomCell();
     bool Init();
     
     virtual bool Render( wxRect cell, wxDC *dc, int state ) = 0;
@@ -125,7 +142,7 @@ public:
     wxDataViewProgressCell( const wxString &label = wxEmptyString, 
                             const wxString &varianttype = wxT("long"), 
                             wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT );
-    ~wxDataViewProgressCell();
+    virtual ~wxDataViewProgressCell();
     
     bool SetValue( const wxVariant &value );