diff options
author | Silenio Quarti <silenio> | 2002-12-06 18:56:03 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2002-12-06 18:56:03 +0000 |
commit | fc873e959d8f0ffb44638819050ad4842394a8e1 (patch) | |
tree | ca6c6a051d2058c0ff5181a48943448311dc5007 | |
parent | 8e113790d50d5245a64c0357f691eb41a0ed4d20 (diff) | |
download | eclipse.platform.swt-fc873e959d8f0ffb44638819050ad4842394a8e1.tar.gz eclipse.platform.swt-fc873e959d8f0ffb44638819050ad4842394a8e1.tar.xz eclipse.platform.swt-fc873e959d8f0ffb44638819050ad4842394a8e1.zip |
*** empty log message ***
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Cursor.java | 6 | ||||
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Cursor.java b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Cursor.java index c82c98e557..47f18c563b 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Cursor.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Cursor.java @@ -153,8 +153,8 @@ public Cursor(Device device, int style) { case SWT.CURSOR_SIZEWE: handle = OS.kThemeResizeLeftRightCursor; break; case SWT.CURSOR_SIZEN: handle = OS.kThemeCrossCursor; break; case SWT.CURSOR_SIZES: handle = OS.kThemeCrossCursor; break; - case SWT.CURSOR_SIZEE: handle = OS.kThemeCrossCursor; break; - case SWT.CURSOR_SIZEW: handle = OS.kThemeCrossCursor; break; + case SWT.CURSOR_SIZEE: handle = OS.kThemeResizeRightCursor; break; + case SWT.CURSOR_SIZEW: handle = OS.kThemeResizeLeftCursor; break; case SWT.CURSOR_SIZENE: handle = OS.kThemeCrossCursor; break; case SWT.CURSOR_SIZESE: handle = OS.kThemeCrossCursor; break; case SWT.CURSOR_SIZESW: handle = OS.kThemeCrossCursor; break; @@ -277,6 +277,8 @@ public void dispose () { case OS.kThemeIBeamCursor: case OS.kThemeNotAllowedCursor: case OS.kThemeResizeLeftRightCursor: + case OS.kThemeResizeLeftCursor: + case OS.kThemeResizeRightCursor: break; default: OS.DisposePtr(handle); diff --git a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java index 4ddea6b600..99d0a252ef 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java @@ -963,6 +963,8 @@ void setCursor (int cursor) { case OS.kThemeIBeamCursor: case OS.kThemeNotAllowedCursor: case OS.kThemeResizeLeftRightCursor: + case OS.kThemeResizeLeftCursor: + case OS.kThemeResizeRightCursor: OS.SetThemeCursor (cursor); break; default: |