summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-20 17:13:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-05-20 17:13:53 (GMT)
commit64d47b45ab34decb7052b2d4efc4cc43741f54fd (patch)
treea9489c583842e47c83702f8ad8e92a512cc72521 /win
parentab2d4c37f1979a374d4dd394421dd2e2458684cd (diff)
parentd04cb1f6fc6457588d258cb3c9ae59b8eddb3339 (diff)
downloadtk-64d47b45ab34decb7052b2d4efc4cc43741f54fd.zip
tk-64d47b45ab34decb7052b2d4efc4cc43741f54fd.tar.gz
tk-64d47b45ab34decb7052b2d4efc4cc43741f54fd.tar.bz2
Fix [527cb3cd5d]: Documentation of ttk states. user1/user2 are no longer misused for other (internal) purposes
Diffstat (limited to 'win')
-rw-r--r--win/ttkWinXPTheme.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/win/ttkWinXPTheme.c b/win/ttkWinXPTheme.c
index 51790e4..755deb4 100644
--- a/win/ttkWinXPTheme.c
+++ b/win/ttkWinXPTheme.c
@@ -19,7 +19,7 @@
#include <windows.h>
#include <uxtheme.h>
#include <vssym32.h>
-#include "ttk/ttkTheme.h"
+#include "ttk/ttkThemeInt.h"
typedef HTHEME (STDAPICALLTYPE OpenThemeDataProc)(HWND hwnd,
LPCWSTR pszClassList);
@@ -866,9 +866,6 @@ static const Ttk_ElementSpec TabElementSpec =
* Generic element, but don't display at all if TTK_STATE_LEAF (=USER2) set
*/
-#define TTK_STATE_OPEN TTK_STATE_USER1
-#define TTK_STATE_LEAF TTK_STATE_USER2
-
static const Ttk_StateTable header_statemap[] =
{
{ HIS_PRESSED, TTK_STATE_PRESSED, 0 },