From b647e867b20e055d72bd3e92709467c62f48df7f Mon Sep 17 00:00:00 2001 From: "pinkerton%netscape.com" Date: Wed, 4 Apr 2001 23:58:35 +0000 Subject: [PATCH] forgot to wrap something in !TARGET_CARBON. fixes bustage. --- widget/src/mac/nsMacWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/widget/src/mac/nsMacWindow.cpp b/widget/src/mac/nsMacWindow.cpp index 2dc8a5bf741f..66fe4d6daa9c 100644 --- a/widget/src/mac/nsMacWindow.cpp +++ b/widget/src/mac/nsMacWindow.cpp @@ -626,10 +626,12 @@ nsMacWindow :: InstallBorderlessDefProc ( WindowPtr inWindow ) void nsMacWindow :: RemoveBorderlessDefProc ( WindowPtr inWindow ) { +#if !TARGET_CARBON Handle fakedProc = ((WindowPeek)inWindow)->windowDefProc; Handle oldProc = DefProcFakery::GetSystemDefProc(fakedProc); DefProcFakery::DestroyDefProc ( fakedProc ); ((WindowPeek)inWindow)->windowDefProc = oldProc; +#endif }