comparison dwt/widgets/Tree.d @ 296:e1dd8f5bc6ef

Fix: wrong indirection
author Frank Benoit <benoit@tionex.de>
date Thu, 07 Aug 2008 21:34:21 +0200
parents 5866c72318b1
children
comparison
equal deleted inserted replaced
295:5866c72318b1 296:e1dd8f5bc6ef
269 bool customDraw = false; 269 bool customDraw = false;
270 if (columnCount is 0) { 270 if (columnCount is 0) {
271 modelIndex = Tree.FIRST_COLUMN; 271 modelIndex = Tree.FIRST_COLUMN;
272 customDraw = firstCustomDraw; 272 customDraw = firstCustomDraw;
273 } else { 273 } else {
274 TreeColumn* column = cast(TreeColumn*) display.getWidget (cast(GtkWidget*)tree_column); 274 TreeColumn column = cast(TreeColumn) display.getWidget (cast(GtkWidget*)tree_column);
275 if (column !is null) { 275 if (column !is null) {
276 modelIndex = column.modelIndex; 276 modelIndex = column.modelIndex;
277 customDraw = column.customDraw; 277 customDraw = column.customDraw;
278 } 278 }
279 } 279 }