+ bottom_sizer->Add( m_log, 1, wxGROW );
+
+ // wxDataViewTreeStore
+
+ wxDataViewCtrl *treectrl = new wxDataViewCtrl( this, -1,
+ wxDefaultPosition, wxSize(300,200), wxDV_NO_HEADER );
+
+ wxDataViewTreeStore *store = new wxDataViewTreeStore;
+ wxDataViewItem parent = store->AppendContainer( wxDataViewItem(0), "Root 1", wxIcon(small1_xpm) );
+ wxDataViewItem child = store->AppendItem( parent, "Child 1", wxIcon(small1_xpm) );
+ child = store->AppendItem( parent, "Child 2", wxIcon(small1_xpm) );
+ child = store->AppendItem( parent, "Child 3", wxIcon(small1_xpm) );
+ treectrl->AssociateModel( store );
+ store->DecRef();
+
+ treectrl->AppendIconTextColumn( "no label", 0, wxDATAVIEW_CELL_INERT, 200 );
+
+ bottom_sizer->Add( treectrl );
+
+ // wxDataViewTreeCtrl
+
+ wxDataViewTreeCtrl *treectrl2 = new wxDataViewTreeCtrl( this, -1, wxDefaultPosition, wxSize(300,200) );
+
+ wxImageList *ilist = new wxImageList( 16, 16 );
+ ilist->Add( wxIcon(small1_xpm) );
+ treectrl2->SetImageList( ilist );
+
+ parent = treectrl2->AppendContainer( wxDataViewItem(0), "Root 1", 0 );
+ child = treectrl2->AppendItem( parent, "Child 1", 0 );
+ child = treectrl2->AppendItem( parent, "Child 2", 0 );
+ child = treectrl2->AppendItem( parent, "Child 3", 0 );
+
+ bottom_sizer->Add( treectrl2 );
+
+ // main sizer
+
+ main_sizer->Add( bottom_sizer, 0, wxGROW );