summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java
diff options
context:
space:
mode:
authorSteve Northover <steve>2007-07-17 21:26:40 +0000
committerSteve Northover <steve>2007-07-17 21:26:40 +0000
commitfa653ea95d510991e7c3b49a69cf4ffa7dd08b0f (patch)
tree6c00d71007b674c26ce416a75d44427d4ab4caf3 /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java
parent5990f662ac5b596956261fca7260e8ca36cbc36f (diff)
downloadeclipse.platform.swt-fa653ea95d510991e7c3b49a69cf4ffa7dd08b0f.tar.gz
eclipse.platform.swt-fa653ea95d510991e7c3b49a69cf4ffa7dd08b0f.tar.xz
eclipse.platform.swt-fa653ea95d510991e7c3b49a69cf4ffa7dd08b0f.zip
fix Javadoc and call super from WM_UPDATEUISTATE
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java
index 769727fbe2..c7a8a77f06 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java
@@ -20,6 +20,13 @@ import org.eclipse.swt.graphics.*;
* user interface object that displays a string or image.
* When SEPARATOR is specified, displays a single
* vertical or horizontal line.
+ * <p>
+ * Shadow styles are hints and may not be honoured
+ * by the platform. To create a separator label
+ * with the default shadow style for the platform,
+ * do not specify a shadow style.
+ * </p>
+ * <dl>
* <dl>
* <dt><b>Styles:</b></dt>
* <dd>SEPARATOR, HORIZONTAL, VERTICAL</dd>
@@ -481,6 +488,7 @@ LRESULT WM_SIZE (int /*long*/ wParam, int /*long*/ lParam) {
LRESULT WM_UPDATEUISTATE (int /*long*/ wParam, int /*long*/ lParam) {
LRESULT result = super.WM_UPDATEUISTATE (wParam, lParam);
+ if (result != null) return result;
/*
* Feature in Windows. When WM_UPDATEUISTATE is sent to
* a static control, it sends WM_CTLCOLORSTATIC to get the