summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--macosx/tkMacOSXEntry.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cfd74dd..cf0957f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-03-24 Jim Ingham <jingham@apple.com>
+
+ * macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): Dopey
+ bug - don't reset the width for entry widgets - we didn't
+ change it for them.
+
2005-03-23 Jim Ingham <jingham@apple.com>
These changes allow us to draw the Entry and Spinbox widget
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;
}
/*