Skip to content

Commit

Permalink
Fix for _CPCibCustomView
Browse files Browse the repository at this point in the history
Signed-off-by: 280north <admin+280north@280north.com>
  • Loading branch information
Francisco Tolmasky authored and 280north committed Jan 4, 2009
1 parent 2b455ec commit 74e3bfe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions AppKit/Cib/_CPCibCustomView.j
Expand Up @@ -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:
Expand Down

0 comments on commit 74e3bfe

Please sign in to comment.