Added WS_VISIBLE style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1156,7 +1156,7 @@ void wxWindowMSW::SetWindowStyleFlag(long flags)
|
|||||||
WXDWORD wxWindowMSW::MSWGetStyle(long flags, WXDWORD *exstyle) const
|
WXDWORD wxWindowMSW::MSWGetStyle(long flags, WXDWORD *exstyle) const
|
||||||
{
|
{
|
||||||
// translate the style
|
// translate the style
|
||||||
WXDWORD style = WS_CHILD;
|
WXDWORD style = WS_CHILD | WS_VISIBLE;
|
||||||
|
|
||||||
if ( flags & wxCLIP_CHILDREN )
|
if ( flags & wxCLIP_CHILDREN )
|
||||||
style |= WS_CLIPCHILDREN;
|
style |= WS_CLIPCHILDREN;
|
||||||
|
Reference in New Issue
Block a user