Make text controls flat under CE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1a4b50d2f1
commit
3d4ea84bd9
@ -239,6 +239,11 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
|
||||
const wxValidator& validator,
|
||||
const wxString& name)
|
||||
{
|
||||
#ifdef __WXWINCE__
|
||||
if ((style & wxBORDER_MASK) == 0)
|
||||
style |= wxBORDER_SIMPLE;
|
||||
#endif
|
||||
|
||||
// base initialization
|
||||
if ( !CreateBase(parent, id, pos, size, style, validator, name) )
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user