// 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;
// 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;
// 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;