diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java index 6cb9cf52dd9..c6bc6bb456f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java @@ -553,6 +553,14 @@ public void close () { closeWidget (); } +@Override +void createWidget() { + super.createWidget (); + if (parent != null) { + this.nativeZoom = DPIUtil.mapDPIToZoom(OS.GetDpiForWindow(handle)); + } +} + void createBalloonTipHandle () { balloonTipHandle = OS.CreateWindowEx ( 0,