Decided not to use removeFromSuperviewWithoutNeedingRedraw at mikeash in irc.freenode.net/#macdev's suggestion (he basically said the documentation's description of the difference is "gibberish" and that I shouldn't need it). Let's just hope that stays the case...
This commit is contained in:
parent
2c3c200df8
commit
abb5b0c1d7
|
@ -12,7 +12,6 @@
|
|||
void unparent(id control)
|
||||
{
|
||||
[toNSView(control) retain]; // save from being freed when released by the removal selector below
|
||||
// TODO removeFromSuperviewWithoutNeedingDisplay?
|
||||
[toNSView(control) removeFromSuperview];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue