]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/textctrl.cpp
remove the vertical scrollbar completely if the control is empty
[wxWidgets.git] / src / motif / textctrl.cpp
index ef011a5056cb6e140e087dc82b23b38a477a35a8..81ac9740eaa80570dc3854ca46e17806ae6f24c2 100644 (file)
@@ -24,8 +24,6 @@
 #define XtParent XTPARENT
 #endif
 
-#include "wx/defs.h"
-
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <ctype.h>
@@ -488,7 +486,7 @@ void wxTextCtrl::ShowPosition(long pos)
 int wxTextCtrl::GetLineLength(long lineNo) const
 {
     wxString str = GetLineText (lineNo);
-    return (int) str.Length();
+    return (int) str.length();
 }
 
 wxString wxTextCtrl::GetLineText(long lineNo) const