diff options
Diffstat (limited to 'macosx/tkMacOSXEntry.c')
-rw-r--r-- | macosx/tkMacOSXEntry.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/tkMacOSXEntry.c b/macosx/tkMacOSXEntry.c index d56245e..afe52a7 100644 --- a/macosx/tkMacOSXEntry.c +++ b/macosx/tkMacOSXEntry.c @@ -217,7 +217,9 @@ TkpDrawEntryBorderAndFocus(Entry *entryPtr, Drawable d, int isSpinbox) } SetGWorld(saveWorld, saveDevice); - Tk_Width(tkwin) = oldWidth; + if (isSpinbox) { + Tk_Width(tkwin) = oldWidth; + } return 1; } /* |