diff options
author | Sven Gothel <[email protected]> | 2011-11-26 23:02:27 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-11-26 23:02:27 +0100 |
commit | c26d6005e1fe74e9aee01d9d72942f566884fcd2 (patch) | |
tree | aa30409be3ad0c0db549f94d941faf140e89b24d /src/newt/native/MacWindow.m | |
parent | 78121938f8b432617bbb9f8e3e259ff1ffa9442e (diff) |
NEWT OSX closeWindow: simple close, no extra view detachment etc
Diffstat (limited to 'src/newt/native/MacWindow.m')
-rw-r--r-- | src/newt/native/MacWindow.m | 3 |
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); |