]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/dataview.h
Make wxDragImage ctors taking hot spot point really deprecated in wxMSW.
[wxWidgets.git] / include / wx / generic / dataview.h
index b6f643055fea9a340b001f42519bf54322d1712a..c2cf345a4c69e5fdec7e227e28d19e7e05dc916d 100644 (file)
@@ -189,7 +189,12 @@ public:
 
     virtual wxBorder GetDefaultBorder() const;
 
-    virtual void StartEditor( const wxDataViewItem & item, unsigned int column );
+    virtual void EditItem(const wxDataViewItem& item, const wxDataViewColumn *column);
+
+    // These methods are specific to generic wxDataViewCtrl implementation and
+    // should not be used in portable code.
+    wxColour GetAlternateRowColour() const { return m_alternateRowColour; }
+    void SetAlternateRowColour(const wxColour& colour);
 
 protected:
     virtual void EnsureVisible( int row, int column );
@@ -245,6 +250,9 @@ private:
     wxDataViewMainWindow     *m_clientArea;
     wxDataViewHeaderWindow   *m_headerArea;
 
+    // user defined color to draw row lines, may be invalid
+    wxColour m_alternateRowColour;
+
     // the index of the column currently used for sorting or -1
     int m_sortingColumnIdx;