summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-18 21:20:21 -0400
committerPietro Gagliardi <[email protected]>2014-07-18 21:20:21 -0400
commitabb5b0c1d72f6d9c6b041494e4e43042bdd12852 (patch)
tree1d1676110e678740e759a5ed1435283476dcb142
parent2c3c200df886adc68421c1da64efffb417911059 (diff)
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...
-rw-r--r--redo/controls_darwin.m1
1 files changed, 0 insertions, 1 deletions
diff --git a/redo/controls_darwin.m b/redo/controls_darwin.m
index f7554f5..e1cdb8f 100644
--- a/redo/controls_darwin.m
+++ b/redo/controls_darwin.m
@@ -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];
}