X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65887bd0f15e2ed92f130dd7bca91636527e1540..c294641fd54a4be9777053e149d847cbb90d529e:/include/wx/gtk/dvrenderer.h diff --git a/include/wx/gtk/dvrenderer.h b/include/wx/gtk/dvrenderer.h index 5918f229f2..7f8d3d4782 100644 --- a/include/wx/gtk/dvrenderer.h +++ b/include/wx/gtk/dvrenderer.h @@ -77,6 +77,8 @@ public: // specific attributes: can return NULL if this renderer doesn't render any // text virtual GtkCellRendererText *GtkGetTextRenderer() const { return NULL; } + + wxDataViewCellMode GtkGetMode() { return m_mode; } protected: virtual void GtkOnCellChanged(const wxVariant& value, @@ -84,8 +86,9 @@ protected: unsigned col); - GtkCellRenderer *m_renderer; - int m_alignment; + GtkCellRenderer *m_renderer; + int m_alignment; + wxDataViewCellMode m_mode; // true if we hadn't changed any visual attributes or restored them since // doing this