X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b86de524c7b9f7d6067305c01c1fb35ad7321ec4..fb9010ed40454cc978a9cbaa6de2ee41ea8b6c84:/src/motif/textctrl.cpp diff --git a/src/motif/textctrl.cpp b/src/motif/textctrl.cpp index 6a2c7a0cb5..623de21836 100644 --- a/src/motif/textctrl.cpp +++ b/src/motif/textctrl.cpp @@ -150,6 +150,10 @@ bool wxTextCtrl::Create(wxWindow *parent, NULL ); + XtVaSetValues ((Widget) m_mainWidget, + XmNeditable, ((style & wxTE_READONLY) ? False : True), + NULL); + // TODO: Is this relevant? What does it do? int noCols = 2; if (!value.IsNull() && (value.Length() > (unsigned int) noCols))