changeset 250:66441b183ff5

Additions for forms
author Frank Benoit <benoit@tionex.de>
date Sat, 24 May 2008 08:34:19 +0200
parents e1ec1581e355
children c07d56c08e9f
files dwt/dwthelper/utils.d
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/dwt/dwthelper/utils.d	Thu May 22 19:45:02 2008 +0200
+++ b/dwt/dwthelper/utils.d	Sat May 24 08:34:19 2008 +0200
@@ -120,9 +120,9 @@
 
 class Integer : ValueWrapperT!(int) {
 
-    public static int MIN_VALUE = 0x80000000;
-    public static int MAX_VALUE = 0x7fffffff;
-    public static int SIZE = 32;
+    public static const int MIN_VALUE = 0x80000000;
+    public static const int MAX_VALUE = 0x7fffffff;
+    public static const int SIZE = 32;
 
     public this ( int value ){
         super( value );
@@ -593,6 +593,9 @@
 public int compareToIgnoreCase( String src, String other ){
     return tango.text.Unicode.toFold(src) < tango.text.Unicode.toFold(other);
 }
+public int compareTo( String src, String other ){
+    return src < other;
+}
 
 public bool startsWith( String src, String pattern ){
     if( src.length < pattern.length ){