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
This commit is contained in:
ceylo 2009-03-22 23:19:48 +00:00
parent 40b4bda26b
commit 6b6375abf9

View File

@ -152,10 +152,7 @@ myWheelStatus(0.0f)
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
WindowImplCocoa::~WindowImplCocoa() WindowImplCocoa::~WindowImplCocoa()
{ {
// Make sure the window is closed // Release the window wrapper
Show(false);
// Release the window objects
[myWrapper release]; [myWrapper release];
} }