зеркало из https://github.com/mozilla/pjs.git
forgot to wrap something in !TARGET_CARBON. fixes bustage.
This commit is contained in:
Родитель
687359c2ed
Коммит
57fbeb100a
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче