From 913a8cc93628e6f677265a33aef6a811512cfdf1 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Fri, 3 Feb 2012 18:31:35 +0200 Subject: [PATCH] Fixed invalid comparison between paintable and widget --- src/com/vaadin/terminal/gwt/client/ui/VWindow.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/vaadin/terminal/gwt/client/ui/VWindow.java b/src/com/vaadin/terminal/gwt/client/ui/VWindow.java index 2cdbf9f370..870756fec8 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VWindow.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VWindow.java @@ -971,7 +971,7 @@ public class VWindow extends VOverlay implements Container, } public RenderSpace getAllocatedSpace(Widget child) { - if (child == layout) { + if (child == layout.getWidgetForPaintable()) { return renderSpace; } else { // Exception ?? -- 2.39.5