diff options
author | fvogel <fvogelnew1@free.fr> | 2020-05-28 20:45:58 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2020-05-28 20:45:58 (GMT) |
commit | 18fd1bf89685a067ea6ad92d6b1d7f260394ddce (patch) | |
tree | 498bf384cc8ec9ff20ef9de45ba7f9c2e21edb0f | |
parent | 9d65143eb6ec4d77828501177d7275b0c84b5958 (diff) | |
parent | bd0d1fd4d2137bebd775874b705c061a7e13aa7f (diff) | |
download | tk-18fd1bf89685a067ea6ad92d6b1d7f260394ddce.zip tk-18fd1bf89685a067ea6ad92d6b1d7f260394ddce.tar.gz tk-18fd1bf89685a067ea6ad92d6b1d7f260394ddce.tar.bz2 |
Fix [3c6660b6f0], [601cead1d0] and [4b50b76028]: Wrong ttk::checkbutton and ttk::radiobutton scaling on Windows 10. Fix by Csaba Nemethi, and Brad Lanam.
-rw-r--r-- | win/ttkWinXPTheme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c index fec0450..26807f7 100644 --- a/win/ttkWinXPTheme.c +++ b/win/ttkWinXPTheme.c @@ -506,7 +506,7 @@ static void GenericElementSize( if (!(elementData->info->flags & IGNORE_THEMESIZE)) { result = elementData->procs->GetThemePartSize( elementData->hTheme, - elementData->hDC, + NULL, elementData->info->partId, Ttk_StateTableLookup(elementData->info->statemap, 0), NULL /*RECT *prc*/, |