summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXSubwindows.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2023-08-01 20:35:27 (GMT)
committerfvogel <fvogelnew1@free.fr>2023-08-01 20:35:27 (GMT)
commit46a76ac6fef3b94a27c3a4f07a086dd652fa16b2 (patch)
treeed963de9e64e7eff71f8233b03968d3c0400bf4d /macosx/tkMacOSXSubwindows.c
parent83f6c0fb39f92f7ea971e7bb0a69bd7cd3c26593 (diff)
downloadtk-46a76ac6fef3b94a27c3a4f07a086dd652fa16b2.zip
tk-46a76ac6fef3b94a27c3a4f07a086dd652fa16b2.tar.gz
tk-46a76ac6fef3b94a27c3a4f07a086dd652fa16b2.tar.bz2
Fix [0f29a2222d]: Aqua: HIShape wrapper function cleanup. Patch from Christopher Chavez.
Diffstat (limited to 'macosx/tkMacOSXSubwindows.c')
-rw-r--r--macosx/tkMacOSXSubwindows.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXSubwindows.c b/macosx/tkMacOSXSubwindows.c
index 14d0cce..1563c90 100644
--- a/macosx/tkMacOSXSubwindows.c
+++ b/macosx/tkMacOSXSubwindows.c
@@ -855,7 +855,7 @@ TkMacOSXUpdateClipRgn(
*/
TkMacOSXWinCGBounds(winPtr, &bounds);
- rgn = TkMacOSXHIShapeCreateMutableWithRect(&bounds);
+ rgn = HIShapeCreateMutableWithRect(&bounds);
/*
* Clip away the area of any windows that may obscure this window.
@@ -964,7 +964,7 @@ TkMacOSXUpdateClipRgn(
TkMacOSXUpdateClipRgn(win2Ptr);
}
}
- macWin->aboveVisRgn = TkMacOSXHIShapeCreateEmpty();
+ macWin->aboveVisRgn = HIShapeCreateEmpty();
}
if (!macWin->visRgn) {
macWin->visRgn = HIShapeCreateCopy(macWin->aboveVisRgn);