Import Tk 8.6.11

This commit is contained in:
Steve Dower
2021-03-30 00:54:10 +01:00
parent 42c69189d9
commit 070b8750b0
403 changed files with 21608 additions and 16269 deletions

View File

@@ -91,11 +91,15 @@
* See ticket [916c1095438eae56]: GetVersionExW triggers warnings
*/
#if defined(_MSC_VER)
# pragma warning(disable:4146)
# pragma warning(disable:4267)
# pragma warning(disable:4244)
# pragma warning(disable:4311)
# pragma warning(disable:4312)
# pragma warning(disable:4996)
#if !defined(_WIN64)
# pragma warning(disable:4305)
#endif
#endif
/*
@@ -116,6 +120,12 @@
#define TkpGetPixel(p) (((((p)->red >> 8) & 0xff) \
| ((p)->green & 0xff00) | (((p)->blue << 8) & 0xff0000)) | 0x20000000)
/*
* Used by tkWindow.c
*/
#define TkpHandleMapOrUnmap(tkwin, event) Tk_HandleEvent(event)
/*
* These calls implement native bitmaps which are not currently
* supported under Windows. The macros eliminate the calls.