//
// it validates the new value and notifies the model about the change by
// calling GtkOnCellChanged() if it was accepted
- void GtkOnTextEdited(const gchar *itempath, const wxString& value);
+ virtual void GtkOnTextEdited(const gchar *itempath, const wxString& value);
GtkCellRenderer* GetGtkHandle() { return m_renderer; }
void GtkInitHandlers();
// 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,
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