summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/tkWinRegion.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/win/tkWinRegion.c b/win/tkWinRegion.c
index 95ddc8b..b6f87dc 100644
--- a/win/tkWinRegion.c
+++ b/win/tkWinRegion.c
@@ -278,6 +278,30 @@ TkSubtractRegion(
}
/*
+ *----------------------------------------------------------------------
+ *
+ * TkpCopyRegion --
+ *
+ * Makes the destination region a copy of the source region.
+ *
+ * Results:
+ * None.
+ *
+ * Side effects:
+ * None.
+ *
+ *----------------------------------------------------------------------
+ */
+
+void
+TkpCopyRegion(
+ TkRegion dst,
+ TkRegion src)
+{
+ CombineRgn((HRGN)dst, (HRGN)src, NULL, RGN_COPY);
+}
+
+/*
* Local Variables:
* mode: c
* c-basic-offset: 4