git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59411
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// the text control borders (but we might want to use style border bits to
// select the text control style)
if ( !wxControl::Create(parent, id, wxDefaultPosition, wxDefaultSize,
// the text control borders (but we might want to use style border bits to
// select the text control style)
if ( !wxControl::Create(parent, id, wxDefaultPosition, wxDefaultSize,
- wxBORDER_NONE, wxDefaultValidator, name) )
+ (style & ~wxBORDER_MASK) | wxBORDER_NONE,
+ wxDefaultValidator, name) )