GTK+ cell renderers are not widget, so use a
correct type. Also found a way to set cell background and probably other styles. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -34,7 +34,7 @@ public:
|
||||
int align = wxDVR_DEFAULT_ALIGNMENT );
|
||||
|
||||
// implementation
|
||||
GtkWidget* GetGtkHandle() { return m_renderer; }
|
||||
GtkCellRenderer* GetGtkHandle() { return m_renderer; }
|
||||
|
||||
virtual void SetMode( wxDataViewCellMode mode );
|
||||
virtual wxDataViewCellMode GetMode() const;
|
||||
@@ -43,7 +43,7 @@ public:
|
||||
virtual int GetAlignment() const;
|
||||
|
||||
protected:
|
||||
GtkWidget *m_renderer;
|
||||
GtkCellRenderer *m_renderer;
|
||||
|
||||
protected:
|
||||
DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewRenderer)
|
||||
|
Reference in New Issue
Block a user