]> git.saurik.com Git - wxWidgets.git/commitdiff
really show the window after creation (calling Show(TRUE) doesn't do it any more)
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Apr 2004 12:40:04 +0000 (12:40 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Apr 2004 12:40:04 +0000 (12:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/window.cpp
src/gtk1/window.cpp

index 5eee285dc35c9fa7f4c301c2335d235833560b3c..819a909325e5304c53aeb33746a4fd8d382c428e 100644 (file)
@@ -2732,7 +2732,8 @@ bool wxWindowGTK::Create( wxWindow *parent,
 
     PostCreation();
 
-    Show( TRUE );
+    if ( IsShown() )
+        gtk_widget_show( m_widget );
 
     return TRUE;
 }
index 5eee285dc35c9fa7f4c301c2335d235833560b3c..819a909325e5304c53aeb33746a4fd8d382c428e 100644 (file)
@@ -2732,7 +2732,8 @@ bool wxWindowGTK::Create( wxWindow *parent,
 
     PostCreation();
 
-    Show( TRUE );
+    if ( IsShown() )
+        gtk_widget_show( m_widget );
 
     return TRUE;
 }