Don’t add non-default focus ring to NSTextView

NSTextView does not natively show a focus ring by default, and it is
extremely rare thing to do in native applications.

Don't do it in wxTextCtrl either.
This commit is contained in:
Václav Slavík
2020-08-30 18:35:45 +02:00
parent 9f66b03c5c
commit 9c5abea266
2 changed files with 0 additions and 5 deletions

View File

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