diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-09-23 18:50:49 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-09-23 18:50:49 (GMT) |
commit | 797299a238c72e1add2fd56d9706346a46861e0a (patch) | |
tree | 9a780e02f8f65645a03c60dc8cfe266e73e001f8 /win/tkWinInt.h | |
parent | cd10234e38f770e0ccb89282180716b4cbd04fea (diff) | |
download | tk-797299a238c72e1add2fd56d9706346a46861e0a.zip tk-797299a238c72e1add2fd56d9706346a46861e0a.tar.gz tk-797299a238c72e1add2fd56d9706346a46861e0a.tar.bz2 |
Use more explicit *W()-forms of the Win32 API, instead of relying on -DUNICODE
Diffstat (limited to 'win/tkWinInt.h')
-rw-r--r-- | win/tkWinInt.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/win/tkWinInt.h b/win/tkWinInt.h index 08c695f..ef4f1bd 100644 --- a/win/tkWinInt.h +++ b/win/tkWinInt.h @@ -219,17 +219,8 @@ MODULE_SCOPE Tcl_Obj * TkWin32ErrorObj(HRESULT hrError); */ #ifndef GetClassLongPtr -# define GetClassLongPtrA GetClassLongA # define GetClassLongPtrW GetClassLongW -# define SetClassLongPtrA SetClassLongA # define SetClassLongPtrW SetClassLongW -# ifdef UNICODE -# define GetClassLongPtr GetClassLongPtrW -# define SetClassLongPtr SetClassLongPtrW -# else -# define GetClassLongPtr GetClassLongPtrA -# define SetClassLongPtr SetClassLongPtrA -# endif /* !UNICODE */ #endif /* !GetClassLongPtr */ #ifndef GCLP_HICON # define GCLP_HICON GCL_HICON @@ -239,17 +230,8 @@ MODULE_SCOPE Tcl_Obj * TkWin32ErrorObj(HRESULT hrError); #endif /* !GCLP_HICONSM */ #ifndef GetWindowLongPtr -# define GetWindowLongPtrA GetWindowLongA # define GetWindowLongPtrW GetWindowLongW -# define SetWindowLongPtrA SetWindowLongA # define SetWindowLongPtrW SetWindowLongW -# ifdef UNICODE -# define GetWindowLongPtr GetWindowLongPtrW -# define SetWindowLongPtr SetWindowLongPtrW -# else -# define GetWindowLongPtr GetWindowLongPtrW -# define SetWindowLongPtr SetWindowLongPtrW -# endif /* !UNICODE */ #endif /* !GetWindowLongPtr */ #ifndef GWLP_WNDPROC #define GWLP_WNDPROC GWL_WNDPROC |