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