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:
parent
3532f48d44
commit
c07523734f
@ -55,6 +55,11 @@ wxMSW:
|
||||
|
||||
- Fix crash when using wxCHMHelpController() in 64 bit builds (Xlord2).
|
||||
|
||||
wxOSX:
|
||||
|
||||
- Turn off automatic quotes substitutions in wxTextCtrl (Xlord2).
|
||||
|
||||
|
||||
3.1.0: (released 2016-02-29)
|
||||
----------------------------
|
||||
|
||||
|
@ -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 )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user