git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30747
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// is a child window, it refereshes properly
//
if ( !ctrl->wxControl::Create(parent, id, pos, size,
// is a child window, it refereshes properly
//
if ( !ctrl->wxControl::Create(parent, id, pos, size,
- (style | wxNO_BORDER) | wxCLIP_CHILDREN,
+ (style & ~wxBORDER_MASK) | wxBORDER_NONE | wxCLIP_CHILDREN,
validator, name) )
return false;
validator, name) )
return false;
// is a child window, it refereshes properly
//
if ( !ctrl->wxControl::Create(parent, id, pos, size,
// is a child window, it refereshes properly
//
if ( !ctrl->wxControl::Create(parent, id, pos, size,
- (style & ~wxBORDER_MASK) | wxCLIP_CHILDREN,
+ (style & ~wxBORDER_MASK) | wxBORDER_NONE | wxCLIP_CHILDREN,
validator, name) )
return false;
validator, name) )
return false;
// backends, we don't need wxCLIP_CHILDREN
//
if ( !ctrl->wxControl::Create(parent, id, pos, size,
// backends, we don't need wxCLIP_CHILDREN
//
if ( !ctrl->wxControl::Create(parent, id, pos, size,
- (style & ~wxBORDER_MASK),
+ (style & ~wxBORDER_MASK) | wxBORDER_NONE,
validator, name) )
return false;
validator, name) )
return false;