diff --git a/src/generic/grideditors.cpp b/src/generic/grideditors.cpp index b7866e0b57..dc01ce4465 100644 --- a/src/generic/grideditors.cpp +++ b/src/generic/grideditors.cpp @@ -460,10 +460,6 @@ void wxGridCellTextEditor::DoCreate(wxWindow* parent, text->SetMargins(0, 0); m_control = text; -#ifdef __WXOSX__ - wxWidgetImpl* impl = m_control->GetPeer(); - impl->EnableFocusRing(false); -#endif // set max length allowed in the textctrl, if the parameter was set if ( m_maxChars != 0 ) { diff --git a/src/osx/cocoa/textctrl.mm b/src/osx/cocoa/textctrl.mm index 1f3abd2d65..3029096b03 100644 --- a/src/osx/cocoa/textctrl.mm +++ b/src/osx/cocoa/textctrl.mm @@ -1590,7 +1590,6 @@ wxWidgetImplType* wxWidgetImpl::CreateTextControl( wxTextCtrl* wxpeer, v = [[wxNSTextScrollView alloc] initWithFrame:r]; wxNSTextViewControl* t = new wxNSTextViewControl( wxpeer, v, style ); c = t; - c->EnableFocusRing( true ); t->SetStringValue(str); }