diff options
-rw-r--r-- | generic/tkInt.h | 7 | ||||
-rw-r--r-- | win/tkWinPort.h | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h index 17742b0..334464b 100644 --- a/generic/tkInt.h +++ b/generic/tkInt.h @@ -512,10 +512,17 @@ typedef struct TkDisplay { * The following field were all added for Tk8.3 */ +#if TCL_MAJOR_VERSION < 9 +#if !defined(TK_NO_DEPRECATED) int mouseButtonState; /* Current mouse button state for this * display. NOT USED as of 8.6.10 */ Window mouseButtonWindow; /* Window the button state was set in, added * in Tk 8.4. */ +#else + int notused1; + XID notused2; +#endif /* !TK_NO_DEPRECATED */ +#endif Tk_Window warpWindow; Tk_Window warpMainwin; /* For finding the root window for warping * purposes. */ diff --git a/win/tkWinPort.h b/win/tkWinPort.h index 2473292..89d91a7 100644 --- a/win/tkWinPort.h +++ b/win/tkWinPort.h @@ -65,7 +65,6 @@ typedef _TCHAR TCHAR; #endif -#include <unistd.h> #include <X11/Xlib.h> #include <X11/cursorfont.h> #include <X11/keysym.h> |