Import Tk 8.6.11
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user