forgot to wrap something in !TARGET_CARBON. fixes bustage.

This commit is contained in:
pinkerton%netscape.com 2001-04-04 23:58:35 +00:00
Родитель ae21d8429d
Коммит b647e867b2
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -626,10 +626,12 @@ nsMacWindow :: InstallBorderlessDefProc ( WindowPtr inWindow )
void void
nsMacWindow :: RemoveBorderlessDefProc ( WindowPtr inWindow ) nsMacWindow :: RemoveBorderlessDefProc ( WindowPtr inWindow )
{ {
#if !TARGET_CARBON
Handle fakedProc = ((WindowPeek)inWindow)->windowDefProc; Handle fakedProc = ((WindowPeek)inWindow)->windowDefProc;
Handle oldProc = DefProcFakery::GetSystemDefProc(fakedProc); Handle oldProc = DefProcFakery::GetSystemDefProc(fakedProc);
DefProcFakery::DestroyDefProc ( fakedProc ); DefProcFakery::DestroyDefProc ( fakedProc );
((WindowPeek)inWindow)->windowDefProc = oldProc; ((WindowPeek)inWindow)->windowDefProc = oldProc;
#endif
} }