Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
Diffstat (limited to 'intern')
-rw-r--r--intern/ghost/intern/GHOST_WindowCocoa.mm6
1 files changed, 0 insertions, 6 deletions
diff --git a/intern/ghost/intern/GHOST_WindowCocoa.mm b/intern/ghost/intern/GHOST_WindowCocoa.mm
index ccd6cd93d4c..8d5f8bf89d5 100644
--- a/intern/ghost/intern/GHOST_WindowCocoa.mm
+++ b/intern/ghost/intern/GHOST_WindowCocoa.mm
@@ -58,9 +58,7 @@ extern "C" {
extern void wm_draw_update(bContext *C);
};*/
@interface CocoaWindowDelegate : NSObject
-#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
<NSWindowDelegate>
-#endif
{
GHOST_SystemCocoa *systemCocoa;
GHOST_WindowCocoa *associatedWindow;
@@ -998,9 +996,7 @@ GHOST_TSuccess GHOST_WindowCocoa::setState(GHOST_TWindowState state)
//Show the new window
[tmpWindow makeKeyAndOrderFront:m_openGLView];
//Close and release old window
- [m_window setDelegate:nil]; // To avoid the notification of "window closed" event
[m_window close];
- [m_window release];
m_window = tmpWindow;
#endif
@@ -1057,9 +1053,7 @@ GHOST_TSuccess GHOST_WindowCocoa::setState(GHOST_TWindowState state)
//Show the new window
[tmpWindow makeKeyAndOrderFront:nil];
//Close and release old window
- [m_window setDelegate:nil]; // To avoid the notification of "window closed" event
[m_window close];
- [m_window release];
m_window = tmpWindow;
#endif