From 6b6375abf95962ed11b45e2ecb8aa140df956bc8 Mon Sep 17 00:00:00 2001 From: ceylo Date: Sun, 22 Mar 2009 23:19:48 +0000 Subject: [PATCH] Fix close event being sent when deleting the window. git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1060 4e206d99-4929-0410-ac5d-dfc041789085 --- src/SFML/Window/Cocoa/WindowImplCocoa.mm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/SFML/Window/Cocoa/WindowImplCocoa.mm b/src/SFML/Window/Cocoa/WindowImplCocoa.mm index 4d6746c91..28873d7a0 100644 --- a/src/SFML/Window/Cocoa/WindowImplCocoa.mm +++ b/src/SFML/Window/Cocoa/WindowImplCocoa.mm @@ -152,10 +152,7 @@ myWheelStatus(0.0f) //////////////////////////////////////////////////////////// WindowImplCocoa::~WindowImplCocoa() { - // Make sure the window is closed - Show(false); - - // Release the window objects + // Release the window wrapper [myWrapper release]; }