From: Julian Smart Date: Wed, 7 May 2003 14:02:38 +0000 (+0000) Subject: Added WS_VISIBLE style X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6ae0daf6c515a80547e90963d04531dc886292d0 Added WS_VISIBLE style git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 4167197fda..5cb28ac354 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -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;