Add WS_VISIBLE style so controls actually show up

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-05-07 13:58:16 +00:00
parent a25cf84937
commit 41350749c7

View File

@@ -1146,7 +1146,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;