X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e510b1e2d0270caf227c3fc0cf34ae2e7dd6794..47fe7ff3821c632b490b16da6b5113f127905a23:/include/wx/gtk/dataview.h diff --git a/include/wx/gtk/dataview.h b/include/wx/gtk/dataview.h index 9677f1c24e..acef40fa2e 100644 --- a/include/wx/gtk/dataview.h +++ b/include/wx/gtk/dataview.h @@ -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) @@ -329,6 +329,9 @@ private: virtual void OnInternalIdle(); + void GtkEnableSelectionEvents(); + void GtkDisableSelectionEvents(); + private: DECLARE_DYNAMIC_CLASS(wxDataViewCtrl) DECLARE_NO_COPY_CLASS(wxDataViewCtrl)