]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/textctrl.cpp
Add missing WXK constants for the control keys
[wxWidgets.git] / src / motif / textctrl.cpp
index 2da2f34990b6d3f1e868d4fdaa52d46821ab51f4..f637e1fa42ef0b530c27296ec76b317640f44775 100644 (file)
@@ -161,7 +161,7 @@ bool wxTextCtrl::Create(wxWindow *parent,
 #if 0
         // TODO: Is this relevant? What does it do?
         int noCols = 2;
-        if (!value.IsNull() && (value.length() > (unsigned int) noCols))
+        if (!value.empty() && (value.length() > (unsigned int) noCols))
             noCols = value.length();
         XtVaSetValues((Widget) m_mainWidget,
                       XmNcolumns, noCols,