Author: jackson
Date: 2007-06-12 13:50:21 -0400 (Tue, 12 Jun 2007)
New Revision: 79323
Modified:
trunk/moon/src/ChangeLog
trunk/moon/src/xaml.cpp
Log:
* xaml.cpp: Don't try to add properties to the panel.
Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog 2007-06-12 17:40:31 UTC (rev 79322)
+++ trunk/moon/src/ChangeLog 2007-06-12 17:50:21 UTC (rev 79323)
@@ -1,3 +1,7 @@
+2007-06-12 Jackson Harper <[EMAIL PROTECTED]>
+
+ * xaml.cpp: Don't try to add properties to the panel.
+
2007-06-12 Sebastien Pouliot <[EMAIL PROTECTED]>
* geometry.cpp: Implemented ArcSegment::Draw using librsvg code
Modified: trunk/moon/src/xaml.cpp
===================================================================
--- trunk/moon/src/xaml.cpp 2007-06-12 17:40:31 UTC (rev 79322)
+++ trunk/moon/src/xaml.cpp 2007-06-12 17:50:21 UTC (rev 79323)
@@ -538,7 +538,8 @@
void
panel_add_child (XamlParserInfo *p, XamlElementInstance *parent,
XamlElementInstance *child)
{
- panel_child_add ((Panel *) parent->item, (UIElement *) child->item);
+ if (parent->element_type != XamlElementInstance::PROPERTY)
+ panel_child_add ((Panel *) parent->item, (UIElement *)
child->item);
dependency_object_add_child (p, parent, child);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches