SetValidator(validator);
#endif // wxUSE_VALIDATORS
+ if ((style & wxBORDER_MASK) == wxBORDER_DEFAULT)
+ style |= wxNO_BORDER;
+
SetBackgroundColour(parent->GetBackgroundColour()) ;
SetForegroundColour(parent->GetForegroundColour()) ;
m_windowStyle = style;