]> git.saurik.com Git - wxWidgets.git/commitdiff
Added WS_VISIBLE style
authorJulian Smart <julian@anthemion.co.uk>
Wed, 7 May 2003 14:02:38 +0000 (14:02 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 7 May 2003 14:02:38 +0000 (14:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index 4167197fda0182e42841f1a7233f83475c900d48..5cb28ac35483fb770e43d8ca3a1f7f0234362971 100644 (file)
@@ -1156,7 +1156,7 @@ void wxWindowMSW::SetWindowStyleFlag(long flags)
 WXDWORD wxWindowMSW::MSWGetStyle(long flags, WXDWORD *exstyle) const
 {
     // translate the style
-    WXDWORD style = WS_CHILD;
+    WXDWORD style = WS_CHILD | WS_VISIBLE;
 
     if ( flags & wxCLIP_CHILDREN )
         style |= WS_CLIPCHILDREN;