summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2019-08-28 20:12:39 (GMT)
committerfvogel <fvogelnew1@free.fr>2019-08-28 20:12:39 (GMT)
commit1dd886e5882026dc5c89cb801251c13cfa070238 (patch)
tree158cf25bc46767a9b762ecd609fbaa28e49ffde5 /macosx
parentb11c06fd0f8e1a52abeffb9aa2a9ee4055e35e83 (diff)
parentd4ee00e26e9b7ab6c7eb33ef4c8e1c29ff73aa1e (diff)
downloadtk-1dd886e5882026dc5c89cb801251c13cfa070238.zip
tk-1dd886e5882026dc5c89cb801251c13cfa070238.tar.gz
tk-1dd886e5882026dc5c89cb801251c13cfa070238.tar.bz2
Fix [943d5ebe51]: Destroying a widget cancels resizing of main window on Windows.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXPort.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/macosx/tkMacOSXPort.h b/macosx/tkMacOSXPort.h
index e26328a..8961c25 100644
--- a/macosx/tkMacOSXPort.h
+++ b/macosx/tkMacOSXPort.h
@@ -129,6 +129,17 @@
#define TkpSync(display)
/*
+ * TkMacOSXGetCapture is a legacy function used on the Mac. When fixing
+ * [943d5ebe51], TkpGetCapture was added to the Windows port. Both
+ * are actually the same feature and should bear the same name. However,
+ * in order to avoid potential backwards incompatibilities, renaming
+ * TkMacOSXGetCapture into TkpGetCapture in *PlatDecls.h shall not be
+ * done in a patch release, therefore use a define here.
+ */
+
+#define TkpGetCapture TkMacOSXGetCapture
+
+/*
* This macro stores a representation of the window handle in a string.
*/