diff options
author | fvogel <fvogelnew1@free.fr> | 2019-08-28 20:12:39 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2019-08-28 20:12:39 (GMT) |
commit | 1dd886e5882026dc5c89cb801251c13cfa070238 (patch) | |
tree | 158cf25bc46767a9b762ecd609fbaa28e49ffde5 /macosx | |
parent | b11c06fd0f8e1a52abeffb9aa2a9ee4055e35e83 (diff) | |
parent | d4ee00e26e9b7ab6c7eb33ef4c8e1c29ff73aa1e (diff) | |
download | tk-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.h | 11 |
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. */ |