On Wed, Apr 27, 2011 at 6:23 PM, Banlu Kemiyatorn <[email protected]> wrote:
> Not directly a patch, but probably something like.
> - (void) removeFromSuperview
> {
> if (_superview == nil) return;
>
> if ([ [_superview subviews] containsObject:self] == NO) return;
if ([ [_superview subviews] containsObject:self] == NO)
{_superview = nil; return;}
> I didn't test this.. should work...
obviously not!
--
.----. Banlu Kemiyatorn
/.../\...\ 漫画家
|.../ \...| http://qstx.blogspot.com (Free Software Advocacy & Development)
|../ \..| http://feedbat.blogspot.com (Studio Work For Hire)
\/ \/ http://groundzerostudiocomplex.blogspot.com (Studio Research)
_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev