Disable automatic "smart" quotes substitution in wxOSX wxTextCtrl
Disable ASCII quotes substitution with "more typographically accurate" symbols, just as we already do it for the dashes substitution. While disabling this unconditionally might not be perfect, it's better than unconditionally leaving this enabled (and this is on by default since OS X 10.9). Closes #15705. Closes https://github.com/wxWidgets/wxWidgets/pull/241
This commit is contained in:
@@ -621,6 +621,7 @@ wxNSTextViewControl::wxNSTextViewControl( wxTextCtrl *wxPeer, WXWidget w, long s
|
||||
[tv setHorizontallyResizable:hasHScroll];
|
||||
[tv setAutoresizingMask:NSViewWidthSizable];
|
||||
[tv setAutomaticDashSubstitutionEnabled:false];
|
||||
[tv setAutomaticQuoteSubstitutionEnabled:false];
|
||||
|
||||
if ( hasHScroll )
|
||||
{
|
||||
|
Reference in New Issue
Block a user