diff options
Diffstat (limited to 'generic')
| -rw-r--r-- | generic/tkIntPlatDecls.h | 2 | ||||
| -rw-r--r-- | generic/tkStubInit.c | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/generic/tkIntPlatDecls.h b/generic/tkIntPlatDecls.h index 7d55a30..b613cfd 100644 --- a/generic/tkIntPlatDecls.h +++ b/generic/tkIntPlatDecls.h @@ -738,6 +738,8 @@ extern const TkIntPlatStubs *tkIntPlatStubsPtr; #ifndef TK_NO_DEPRECATED # define TkMacOSXDrawable Tk_MacOSXGetNSWindowForDrawable +# undef TkWinGetPlatformTheme +# define TkWinGetPlatformTheme() 3 #endif #undef TCL_STORAGE_CLASS diff --git a/generic/tkStubInit.c b/generic/tkStubInit.c index b3fe123..f5dfb5b 100644 --- a/generic/tkStubInit.c +++ b/generic/tkStubInit.c @@ -43,6 +43,11 @@ MODULE_SCOPE const TkStubs tkStubs; #undef XPutImage #define TkUnusedStubEntry 0 +#ifdef TK_NO_DEPRECATED +# undef TkWinGetPlatformTheme +# define TkWinGetPlatformTheme 0 +#endif /* TK_NO_DEPRECATED */ + #if !defined(MAC_OSX_TK) static int doNothing(void) @@ -188,6 +193,7 @@ TkPutImage( # define TkWinDialogDebug 0 # define TkWinGetMenuSystemDefault 0 # define TkWinSetHINSTANCE 0 +# undef TkWinGetPlatformTheme # define TkWinGetPlatformTheme 0 # define TkWinChildProc 0 |
