Author: toshok
Date: 2007-12-06 09:09:47 -0500 (Thu, 06 Dec 2007)
New Revision: 90806
Modified:
trunk/moon/src/ChangeLog
trunk/moon/src/xaml.cpp
Log:
2007-12-06 Chris Toshok <[EMAIL PROTECTED]>
* xaml.cpp (xaml_init): register the right constructors for
PathSegmentCollection, GeometryCollection, and
TransformCollection.
Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog 2007-12-06 12:32:29 UTC (rev 90805)
+++ trunk/moon/src/ChangeLog 2007-12-06 14:09:47 UTC (rev 90806)
@@ -1,3 +1,9 @@
+2007-12-06 Chris Toshok <[EMAIL PROTECTED]>
+
+ * xaml.cpp (xaml_init): register the right constructors for
+ PathSegmentCollection, GeometryCollection, and
+ TransformCollection.
+
2007-12-05 Chris Toshok <[EMAIL PROTECTED]>
* animation.cpp, animation.h: a couple of fixes. Move away from
Modified: trunk/moon/src/xaml.cpp
===================================================================
--- trunk/moon/src/xaml.cpp 2007-12-06 12:32:29 UTC (rev 90805)
+++ trunk/moon/src/xaml.cpp 2007-12-06 14:09:47 UTC (rev 90806)
@@ -2992,7 +2992,7 @@
gg->content_property = "Children";
- /*XamlElementInfo *gc = */ rdoe (dem, "GeometryCollection", col,
Type::GEOMETRY_COLLECTION, (create_item_func) geometry_group_new);
+ /*XamlElementInfo *gc = */ rdoe (dem, "GeometryCollection", col,
Type::GEOMETRY_COLLECTION, (create_item_func) geometry_collection_new);
XamlElementInfo *pg = rdoe (dem, "PathGeometry", geo,
Type::PATHGEOMETRY, (create_item_func) path_geometry_new);
pg->content_property = "Figures";
@@ -3001,7 +3001,7 @@
XamlElementInfo *pf = rdoe (dem, "PathFigure", geo, Type::PATHFIGURE,
(create_item_func) path_figure_new);
pf->content_property = "Segments";
- /*XamlElementInfo *psc = */ rdoe (dem, "PathSegmentCollection", col,
Type::PATHSEGMENT_COLLECTION, (create_item_func) path_figure_new);
+ /*XamlElementInfo *psc = */ rdoe (dem, "PathSegmentCollection", col,
Type::PATHSEGMENT_COLLECTION, (create_item_func) path_segment_collection_new);
XamlElementInfo *ps = register_ghost_element ("PathSegment", NULL,
Type::PATHSEGMENT);
rdoe (dem, "ArcSegment", ps, Type::ARCSEGMENT, (create_item_func)
arc_segment_new);
@@ -3103,7 +3103,7 @@
XamlElementInfo *tg = rdoe (dem, "TransformGroup", tf,
Type::TRANSFORMGROUP, (create_item_func) transform_group_new);
tg->content_property = "Children";
- rdoe (dem, "TransformCollection", col, Type::TRANSFORM_COLLECTION,
(create_item_func) transform_group_new);
+ rdoe (dem, "TransformCollection", col, Type::TRANSFORM_COLLECTION,
(create_item_func) transform_collection_new);
///
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches