diff options
author | Carolyn MacLeod <carolyn> | 2008-01-14 18:50:31 +0000 |
---|---|---|
committer | Carolyn MacLeod <carolyn> | 2008-01-14 18:50:31 +0000 |
commit | 5d55ef525ae3947cb4bd8a8003040f5ef0655b93 (patch) | |
tree | 8f614d9d37d30700b7606c02323ce6a75cdce2e9 /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java | |
parent | 5ecff1526c12811c9f5eb1e8ae67e33f407efce7 (diff) | |
download | eclipse.platform.swt-5d55ef525ae3947cb4bd8a8003040f5ef0655b93.tar.gz eclipse.platform.swt-5d55ef525ae3947cb4bd8a8003040f5ef0655b93.tar.xz eclipse.platform.swt-5d55ef525ae3947cb4bd8a8003040f5ef0655b93.zip |
check WinCE
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java index 24896595d9..deac2b7567 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java @@ -951,7 +951,9 @@ void setSelection (int value, boolean setPos, boolean setText, boolean notify) { TCHAR buffer = new TCHAR (getCodePage (), string, true); OS.SetWindowText (hwndText, buffer); OS.SendMessage (hwndText, OS.EM_SETSEL, 0, -1); - OS.NotifyWinEvent (OS.EVENT_OBJECT_FOCUS, hwndText, OS.OBJID_CLIENT, 0); + if (!OS.IsWinCE) { + OS.NotifyWinEvent (OS.EVENT_OBJECT_FOCUS, hwndText, OS.OBJID_CLIENT, 0); + } } if (notify) postEvent (SWT.Selection); } |