summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-01-29 07:38:10 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-01-29 07:38:10 +0000
commit1cbd7040a731907802fa539ef76e4e26534ccc90 (patch)
tree82b7acfe41e319e375bd32d9a78c8fbefd64ee81 /vcl/unx
parent051de5afe57c4557441a68637dcfc5b1c718d437 (diff)
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
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/gtk/window/gtkobject.cxx7
1 files changed, 4 insertions, 3 deletions
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 <plugins/gtk/gtkdata.hxx>
#include <plugins/gtk/gtkinst.hxx>
-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,