Some code renaming to avoid confusion. Test editable column in sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2007-07-17 22:01:47 +00:00
parent f2f1d735ca
commit 55fbde1232
3 changed files with 294 additions and 286 deletions

View File

@@ -20,6 +20,7 @@
// ---------------------------------------------------------
class WXDLLIMPEXP_FWD_CORE wxDataViewCtrl;
class WXDLLIMPEXP_FWD_CORE wxDataViewCtrlInternal;
// ---------------------------------------------------------
@@ -305,16 +306,17 @@ public:
virtual bool AssociateModel( wxDataViewModel *model );
virtual bool AppendColumn( wxDataViewColumn *col );
virtual wxDataViewItem GetSelection();
// selection code
virtual wxDataViewItem GetSelection();
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
GtkWidget *GtkGetTreeView() { return m_treeview; }
wxWindow *GetMainWindow() { return (wxWindow*) this; }
GtkWidget *GtkGetTreeView() { return m_treeview; }
wxDataViewCtrlInternal* GtkGetInternal() { return m_internal; }
protected:
virtual void DoSetExpanderColumn();
@@ -326,6 +328,7 @@ private:
friend class wxGtkDataViewModelNotifier;
GtkWidget *m_treeview;
wxDataViewModelNotifier *m_notifier;
wxDataViewCtrlInternal *m_internal;
virtual void OnInternalIdle();