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:
Pietro Gagliardi 2014-07-18 21:20:21 -04:00
parent 2c3c200df8
commit abb5b0c1d7
1 changed files with 0 additions and 1 deletions

View File

@ -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];
}