- // Try to make this only necessary in 2.8
-#if 0
-#ifdef __WXMSW__
- if ((style & wxBORDER_MASK) == wxDEFAULT)
- style |= wxBORDER_THEME;
-#endif
-#endif
-
- if (!wxTextCtrlBase::Create(parent, id, pos, size,
- style|wxFULL_REPAINT_ON_RESIZE,
- validator, name))
+ if (!wxControl::Create(parent, id, pos, size,
+ style|wxFULL_REPAINT_ON_RESIZE,
+ validator, name))