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:
@@ -239,6 +239,11 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
|
|||||||
const wxValidator& validator,
|
const wxValidator& validator,
|
||||||
const wxString& name)
|
const wxString& name)
|
||||||
{
|
{
|
||||||
|
#ifdef __WXWINCE__
|
||||||
|
if ((style & wxBORDER_MASK) == 0)
|
||||||
|
style |= wxBORDER_SIMPLE;
|
||||||
|
#endif
|
||||||
|
|
||||||
// base initialization
|
// base initialization
|
||||||
if ( !CreateBase(parent, id, pos, size, style, validator, name) )
|
if ( !CreateBase(parent, id, pos, size, style, validator, name) )
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Reference in New Issue
Block a user