]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dataview.h
Correct bug with items without attributes in wxGTK wxDVC.
[wxWidgets.git] / include / wx / gtk / dataview.h
index f59d27ee7356146f2cc899c2ed1c0708f9cf8ca1..ee1bdb3ccbfb0251b62c87048119b978a65a2f42 100644 (file)
@@ -42,10 +42,17 @@ public:
     void GtkInitHandlers();
     void GtkUpdateAlignment();
 
+    bool GtkIsUsingDefaultAttrs() const { return m_usingDefaultAttrs; }
+    void GtkSetUsingDefaultAttrs(bool def) { m_usingDefaultAttrs = def; }
+
 protected:
     GtkCellRenderer   *m_renderer;
     int                m_alignment;
 
+    // true if we hadn't changed any visual attributes or restored them since
+    // doing this
+    bool m_usingDefaultAttrs;
+
 protected:
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewRenderer)
 };