X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/588b8b7037d2b1c736863c43952b4d3a05c6cf2f..b5a49d4c5267d4eb933d45ec615ac2ed374750dc:/src/univ/textctrl.cpp diff --git a/src/univ/textctrl.cpp b/src/univ/textctrl.cpp index e1cedbad12..13d8d1054c 100644 --- a/src/univ/textctrl.cpp +++ b/src/univ/textctrl.cpp @@ -691,6 +691,11 @@ bool wxTextCtrl::Create(wxWindow *parent, // create data object for single line controls m_data.sdata = new wxTextSingleLineData; } + +#if wxUSE_TWO_WINDOWS + if ((style & wxBORDER_MASK) == 0) + style |= wxBORDER_SUNKEN; +#endif if ( !wxControl::Create(parent, id, pos, size, style, validator, name) )