mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
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:
parent
40b4bda26b
commit
6b6375abf9
@ -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];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user