wxX11 wants to have the border style flag

in wxWindowX11.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-03-27 22:09:49 +00:00
parent f4d0cce0b8
commit 372c2812d9
3 changed files with 17 additions and 1 deletions

View File

@@ -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) )