diff options
Diffstat (limited to 'win/tkWinPort.h')
-rw-r--r-- | win/tkWinPort.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/win/tkWinPort.h b/win/tkWinPort.h index 11ecf21..0118608 100644 --- a/win/tkWinPort.h +++ b/win/tkWinPort.h @@ -95,11 +95,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 /* @@ -121,6 +125,12 @@ | ((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. */ |