aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/native
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-11-26 23:02:27 +0100
committerSven Gothel <[email protected]>2011-11-26 23:02:27 +0100
commitc26d6005e1fe74e9aee01d9d72942f566884fcd2 (patch)
treeaa30409be3ad0c0db549f94d941faf140e89b24d /src/newt/native
parent78121938f8b432617bbb9f8e3e259ff1ffa9442e (diff)
NEWT OSX closeWindow: simple close, no extra view detachment etc
Diffstat (limited to 'src/newt/native')
-rw-r--r--src/newt/native/MacWindow.m3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/newt/native/MacWindow.m b/src/newt/native/MacWindow.m
index 3a5a7cff6..0d63b6522 100644
--- a/src/newt/native/MacWindow.m
+++ b/src/newt/native/MacWindow.m
@@ -443,8 +443,6 @@ NS_DURING
if([mView isInFullScreenMode]) {
[mView exitFullScreenModeWithOptions: NULL];
}
- [mWin setContentView: nil];
- [mView release];
}
NS_HANDLER
NS_ENDHANDLER
@@ -452,7 +450,6 @@ NS_ENDHANDLER
if(NULL!=pWin) {
[mWin detachFromParent: pWin];
}
- [mWin orderOut: mWin];
DBG_PRINT( "windowClose.1 - %p,%d view %p,%d, parent %p\n",
mWin, getRetainCount(mWin), mView, getRetainCount(mView), pWin);