]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/textctrl.cpp
More makefiles, distrib things,
[wxWidgets.git] / src / motif / textctrl.cpp
index 6a2c7a0cb5ecab26b818e5b69b460f5154c2f0de..623de21836100e92c0893282d1a372baeba56464 100644 (file)
@@ -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))