]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dataview/dataview.cpp
Removal of second part of dsw files (as requested by Jamie Gadd).
[wxWidgets.git] / samples / dataview / dataview.cpp
index fdb2c9abeb98c4861599e91a8502eed2c46abdc2..0e4b0d7d412d9ca32611b4e2b12a2e8121b35733 100644 (file)
@@ -381,7 +381,7 @@ MyFrame::MyFrame(wxFrame *frame, wxChar *title, int x, int y, int w, int h):
     dataview_right->AppendTextColumn( wxT("first"), 0 );
     dataview_right->AppendTextColumn( wxT("second"), 1 );
     wxDataViewToggleCell *toggle_cell = new wxDataViewToggleCell( wxT("bool"), wxDATAVIEW_CELL_ACTIVATABLE );
-    column = new wxDataViewColumn( wxT("bool"), toggle_cell, 3 );
+    column = new wxDataViewColumn( wxT("bool"), toggle_cell, 3, 30 );
     dataview_right->AppendColumn( column );
 
     dataview_right->AppendDateColumn( wxT("date"), 6 );