Fix for _CPCibCustomView

Signed-off-by: 280north <admin+280north@280north.com>
This commit is contained in:
Francisco Tolmasky authored and 280north committed 2009-01-05 06:42:00 +08:00
1 parent 2b455ecfc3
commit 74e3bfe6ce
1 file changed
+3
+3
View File
@@ -75,6 +75,9 @@ var _CPCibCustomViewClassNameKey = @"_CPCibCustomViewClassNameKey";
if (view)
{
view._superview = _superview;
view._window = _window; // Doesn't matter that we don't call _setWindow: since nothing has a window yet anyways(?)
[view setBounds:[self bounds]];
// Since the object replacement logic hasn't had a chance to kick in yet, we need to do it manually: