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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user