From 6cafc69ef61fd09a8432e5499616232a2ff25a0b Mon Sep 17 00:00:00 2001 From: Maarten Gribnau Date: Wed, 1 Jan 2003 21:20:10 +0000 Subject: [PATCH] Removed injust assertion failure when clicking on the menu bar. Debug target would complain about an invalid window. Maarten --- intern/ghost/intern/GHOST_SystemCarbon.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/intern/ghost/intern/GHOST_SystemCarbon.cpp b/intern/ghost/intern/GHOST_SystemCarbon.cpp index 1d1181a4f2f..1b44a83d3fa 100644 --- a/intern/ghost/intern/GHOST_SystemCarbon.cpp +++ b/intern/ghost/intern/GHOST_SystemCarbon.cpp @@ -629,7 +629,6 @@ bool GHOST_SystemCarbon::handleMouseDown(EventRef event) part = ::FindWindow(mousePos, &window); ghostWindow = (GHOST_IWindow*) ::GetWRefCon(window); - GHOST_ASSERT(validWindow(ghostWindow), "GHOST_SystemCarbon::handleMouseEvent: invalid window"); switch (part) { case inMenuBar: