mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
Updated FCObjects
Updated FCObjects so that Group() creates a bounding box before attempting to add objects.
This commit is contained in:
@@ -2724,6 +2724,7 @@ class Group(DrawObject):
|
|||||||
# this one uses a proprty for _Canvas...
|
# this one uses a proprty for _Canvas...
|
||||||
self._Actual_Canvas = None
|
self._Actual_Canvas = None
|
||||||
|
|
||||||
|
self.CalcBoundingBox()
|
||||||
for obj in ObjectList:
|
for obj in ObjectList:
|
||||||
self.AddObject(obj)
|
self.AddObject(obj)
|
||||||
self.CalcBoundingBox()
|
self.CalcBoundingBox()
|
||||||
|
|||||||
Reference in New Issue
Block a user