diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-06-11 10:21:13 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-06-11 10:21:13 (GMT) |
commit | 51f833ad40a8580d648cbd9b4f3a96352a345406 (patch) | |
tree | c1c4b77aa569cd7b634e50b0aa7b4e49357c5988 /generic | |
parent | 691a4bcee2166be892a17b23f7ea5c6cbf6208ea (diff) | |
parent | bac8a500d4926440f129c1ae37245e5a5bfcd997 (diff) | |
download | tk-51f833ad40a8580d648cbd9b4f3a96352a345406.zip tk-51f833ad40a8580d648cbd9b4f3a96352a345406.tar.gz tk-51f833ad40a8580d648cbd9b4f3a96352a345406.tar.bz2 |
make it build
Diffstat (limited to 'generic')
-rw-r--r-- | generic/ttk/ttkEntry.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/ttk/ttkEntry.c b/generic/ttk/ttkEntry.c index 410c60c..68c281c 100644 --- a/generic/ttk/ttkEntry.c +++ b/generic/ttk/ttkEntry.c @@ -1175,7 +1175,7 @@ static void EntryDisplay(void *clientData, Drawable d) EntryInitStyleData(entryPtr, &es); - textarea = Ttk_ClientRegion(corePtr->layout, "textarea"); + textarea = Ttk_ClientRegion(entryPtr->core.layout, "textarea"); showCursor = (entryPtr->core.flags & CURSOR_ON) != 0 && EntryEditable(entryPtr) @@ -1224,10 +1224,10 @@ static void EntryDisplay(void *clientData, Drawable d) /* Initialize the clip region: */ - rect.x = textarea.x; - rect.y = textarea.y; + rect.x = entryPtr->entry.layoutX; + rect.y = entryPtr->entry.layoutY; rect.width = textarea.width; - rect.height = textarea.height; + rect.height = entryPtr->entry.layoutHeight; clipRegion = TkCreateRegion(); TkUnionRectWithRegion(&rect, clipRegion, clipRegion); |