From c26d6005e1fe74e9aee01d9d72942f566884fcd2 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 26 Nov 2011 23:02:27 +0100 Subject: NEWT OSX closeWindow: simple close, no extra view detachment etc --- src/newt/native/MacWindow.m | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/newt/native') 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); -- cgit v1.2.3