aboutsummaryrefslogtreecommitdiff
path: root/dw/types.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2016-04-02 22:48:21 +0200
committerSebastian Geerken <devnull@localhost>2016-04-02 22:48:21 +0200
commit70b9f2b70d9f0c0f48d2ae649023ea3ae5271367 (patch)
tree41c998067cde197225621171b0ab096734e5812e /dw/types.cc
parent639fbbfd350e32ab128482078d83a05a3f208983 (diff)
Content with type WIDGET_OOF_REF now refers to new class WidgetReference.
Diffstat (limited to 'dw/types.cc')
-rw-r--r--dw/types.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/dw/types.cc b/dw/types.cc
index 56af66d1..bd7ff748 100644
--- a/dw/types.cc
+++ b/dw/types.cc
@@ -299,9 +299,11 @@ void Content::intoStringBuffer(Content *content, misc::StringBuffer *sb)
break;
case WIDGET_OOF_REF:
sb->append ("<widget oof ref: ");
- sb->appendPointer (content->widget);
+ sb->appendPointer (content->widgetReference->widget);
sb->append (" (");
- sb->append (content->widget->getClassName());
+ sb->append (content->widgetReference->widget->getClassName());
+ sb->append (", ");
+ sb->appendInt (content->widgetReference->parentRef);
sb->append (")>");
break;
case WIDGET_OOF_CONT: