summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVeronika Irvine <veronika>2004-02-12 19:08:52 +0000
committerVeronika Irvine <veronika>2004-02-12 19:08:52 +0000
commit155c56b5b9a7f28e7dfb59f29cc7f30ca5b76245 (patch)
treee7b1f0def5c23abe69466231230c86cf69f50e9a
parent45154c354caf5719e298c958a533a3a2de838dcd (diff)
downloadeclipse.platform.swt-155c56b5b9a7f28e7dfb59f29cc7f30ca5b76245.tar.gz
eclipse.platform.swt-155c56b5b9a7f28e7dfb59f29cc7f30ca5b76245.tar.xz
eclipse.platform.swt-155c56b5b9a7f28e7dfb59f29cc7f30ca5b76245.zip
*** empty log message ***
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java
index 6a8fc9a3d5..53b34d2b17 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java
@@ -643,12 +643,12 @@ public void setFont (Font font){
if (font != null && font.isDisposed ()) {
SWT.error (SWT.ERROR_INVALID_ARGUMENT);
}
- int newFont = -1;
+ int hFont = -1;
if (font != null) {
parent.customDraw = true;
- newFont = font.handle;
+ hFont = font.handle;
}
- this.font = newFont;
+ this.font = hFont;
redraw ();
}
@@ -678,10 +678,10 @@ public void setFont (int index, Font font) {
}
int count = Math.max (1, parent.getColumnCount ());
if (0 > index || index > count -1) return;
- int newFont = -1;
+ int hFont = -1;
if (font != null) {
parent.customDraw = true;
- newFont = font.handle;
+ hFont = font.handle;
}
if (cellFont == null) {
int hwndHeader = OS.SendMessage (parent.handle, OS.LVM_GETHEADER, 0, 0);
@@ -691,7 +691,7 @@ public void setFont (int index, Font font) {
cellFont [i] = -1;
}
}
- cellFont [index] = newFont;
+ cellFont [index] = hFont;
redraw ();
}
/**