Use OSXDisableAllSmartSubstitutions() for TextCtrl field under OSX
This commit is contained in:
parent
6db40feace
commit
3205961655
@ -248,6 +248,9 @@ void TextCtrl::BUILD() {
|
||||
|
||||
const long style = m_opt.multiline ? wxTE_MULTILINE : wxTE_PROCESS_ENTER/*0*/;
|
||||
auto temp = new wxTextCtrl(m_parent, wxID_ANY, text_value, wxDefaultPosition, size, style);
|
||||
#ifdef __WXOSX__
|
||||
temp->OSXDisableAllSmartSubstitutions();
|
||||
#endif // __WXOSX__
|
||||
|
||||
temp->SetToolTip(get_tooltip_text(text_value));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user