From f3d8f6cadc1507579158595fd6809825b8e6588a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 26 Aug 2015 15:58:25 +0200 Subject: [PATCH] Restore automatic quotation marks replacement in wxOSX wxTextCtrl. This was disabled by 262ed2c1335e481ca72646246ccdef81f3825d9e but doesn't seem to be justified, we shouldn't be overriding native platform behaviour without a very good reason and there doesn't seem to be any. See #16805. --- src/osx/cocoa/textctrl.mm | 1 - 1 file changed, 1 deletion(-) diff --git a/src/osx/cocoa/textctrl.mm b/src/osx/cocoa/textctrl.mm index cb12954e4b..ec32b8be4d 100644 --- a/src/osx/cocoa/textctrl.mm +++ b/src/osx/cocoa/textctrl.mm @@ -583,7 +583,6 @@ wxNSTextViewControl::wxNSTextViewControl( wxTextCtrl *wxPeer, WXWidget w ) if ( !wxPeer->HasFlag(wxTE_RICH | wxTE_RICH2) ) { [tv setRichText:NO]; - [tv setAutomaticQuoteSubstitutionEnabled:NO]; } [m_scrollView setDocumentView: tv];