diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2012-06-11 10:21:13 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2012-06-11 10:21:13 (GMT) |
commit | 8d692204233a09606b831c8ce3108823511c7490 (patch) | |
tree | c1c4b77aa569cd7b634e50b0aa7b4e49357c5988 /generic/ttk/ttkEntry.c | |
parent | 24bb47c4d57547cd460b1abfb38f59f6049156bc (diff) | |
parent | a0dd5c837ee48f330b6bfe47940a59a3090c74c2 (diff) | |
download | tk-8d692204233a09606b831c8ce3108823511c7490.zip tk-8d692204233a09606b831c8ce3108823511c7490.tar.gz tk-8d692204233a09606b831c8ce3108823511c7490.tar.bz2 |
make it build
Diffstat (limited to 'generic/ttk/ttkEntry.c')
-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); |