diff options
author | dkf <dkf@noemail.net> | 2012-06-11 10:21:13 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2012-06-11 10:21:13 (GMT) |
commit | 9ddc940d9a38f6c7a0e693373684e97fae826e1b (patch) | |
tree | c1c4b77aa569cd7b634e50b0aa7b4e49357c5988 /generic/ttk | |
parent | cfe14303fe7974e1d4ffc5959f1f8396efb6d5b4 (diff) | |
parent | ce89a192bf52239c0b51fbc82620066e3d4c5bf4 (diff) | |
download | tk-9ddc940d9a38f6c7a0e693373684e97fae826e1b.zip tk-9ddc940d9a38f6c7a0e693373684e97fae826e1b.tar.gz tk-9ddc940d9a38f6c7a0e693373684e97fae826e1b.tar.bz2 |
make it build
FossilOrigin-Name: c7e4b683ea3542afdff72c03a622751f3fd2d26e
Diffstat (limited to 'generic/ttk')
-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); |