]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/dataview.h
Added DetachOldLog to avoid destruction of old log target
[wxWidgets.git] / include / wx / gtk / dataview.h
index 9677f1c24e34d748b062839f6379e24d4fd31751..acef40fa2ebcc09b7e639d0483cf70e7521fbefc 100644 (file)
@@ -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)