Restore automatic quotation marks replacement in wxOSX wxTextCtrl.

This was disabled by 262ed2c133 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.
This commit is contained in:
Vadim Zeitlin
2015-08-26 15:58:25 +02:00
parent 6605eebae6
commit f3d8f6cadc

View File

@@ -583,7 +583,6 @@ wxNSTextViewControl::wxNSTextViewControl( wxTextCtrl *wxPeer, WXWidget w )
if ( !wxPeer->HasFlag(wxTE_RICH | wxTE_RICH2) ) if ( !wxPeer->HasFlag(wxTE_RICH | wxTE_RICH2) )
{ {
[tv setRichText:NO]; [tv setRichText:NO];
[tv setAutomaticQuoteSubstitutionEnabled:NO];
} }
[m_scrollView setDocumentView: tv]; [m_scrollView setDocumentView: tv];