diff options
author | Steve Northover <steve> | 2008-02-27 19:52:26 +0000 |
---|---|---|
committer | Steve Northover <steve> | 2008-02-27 19:52:26 +0000 |
commit | 13dca95cbaadc4c0def1007e4cbc85621366487a (patch) | |
tree | d675764c023b185c26c4386c88015116cb637962 /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java | |
parent | f6895640a3af67c50b771f780b1eab3ddcf8354c (diff) | |
download | eclipse.platform.swt-13dca95cbaadc4c0def1007e4cbc85621366487a.tar.gz eclipse.platform.swt-13dca95cbaadc4c0def1007e4cbc85621366487a.tar.xz eclipse.platform.swt-13dca95cbaadc4c0def1007e4cbc85621366487a.zip |
use borderHandle() instead of scrolledHandle() to draw trim
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java index b643f13701..b472a93e1f 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java @@ -1590,8 +1590,8 @@ LRESULT WM_UPDATEUISTATE (int /*long*/ wParam, int /*long*/ lParam) { LRESULT wmNCPaint (int /*long*/ hwnd, int /*long*/ wParam, int /*long*/ lParam) { LRESULT result = super.wmNCPaint (hwnd, wParam, lParam); if (result != null) return result; - int /*long*/ scrolledHandle = scrolledHandle (); - if ((state & CANVAS) != 0 || (hwnd == scrolledHandle && handle != scrolledHandle)) { + int /*long*/ borderHandle = borderHandle (); + if ((state & CANVAS) != 0 || (hwnd == borderHandle && handle != borderHandle)) { if (OS.COMCTL32_MAJOR >= 6 && OS.IsAppThemed ()) { int bits1 = OS.GetWindowLong (hwnd, OS.GWL_EXSTYLE); if ((bits1 & OS.WS_EX_CLIENTEDGE) != 0) { |