From 1cbd7040a731907802fa539ef76e4e26534ccc90 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Tue, 29 Jan 2008 07:38:10 +0000 Subject: INTEGRATION: CWS transogl02 (1.11.392); FILE MERGED 2007/12/10 19:00:18 radekdoulik 1.11.392.1: add BOOL bShow parameter to SystemChildWindow constructor to allow creating of unmapped window with possibility to show it (map it) later to avoid flicker --- vcl/unx/gtk/window/gtkobject.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'vcl/unx/gtk/window') diff --git a/vcl/unx/gtk/window/gtkobject.cxx b/vcl/unx/gtk/window/gtkobject.cxx index 2cffdd6c1c9c..65b0eef88f70 100644 --- a/vcl/unx/gtk/window/gtkobject.cxx +++ b/vcl/unx/gtk/window/gtkobject.cxx @@ -4,9 +4,9 @@ * * $RCSfile: gtkobject.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: kz $ $Date: 2006-10-06 10:00:15 $ + * last change: $Author: vg $ $Date: 2008-01-29 08:38:10 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -41,7 +41,7 @@ #include #include -GtkSalObject::GtkSalObject( GtkSalFrame* pParent ) +GtkSalObject::GtkSalObject( GtkSalFrame* pParent, BOOL bShow ) : m_pSocket( NULL ), m_pRegion( NULL ) { @@ -49,6 +49,7 @@ GtkSalObject::GtkSalObject( GtkSalFrame* pParent ) { // our plug window m_pSocket = gtk_drawing_area_new(); + Show( bShow ); // insert into container gtk_fixed_put( pParent->getFixedContainer(), m_pSocket, -- cgit v1.2.3