WXDWORD wxTextCtrl::MSWGetStyle(long style, WXDWORD *exstyle) const
{
+ // default border for the text controls is the sunken one
+ if ( (style & wxBORDER_MASK) == wxBORDER_DEFAULT )
+ {
+ style |= wxBORDER_SUNKEN;
+ }
+
long msStyle = wxControl::MSWGetStyle(style, exstyle);
// default styles
- msStyle |= ES_LEFT | WS_TABSTOP;
+ msStyle |= ES_LEFT;
if ( style & wxTE_MULTILINE )
{