# HG changeset patch # User Frank Benoit # Date 1211610859 -7200 # Node ID 66441b183ff5255d9241ab12bc83aef3e5e613b1 # Parent e1ec1581e355e306d482605f1f44d486af5ae592 Additions for forms diff -r e1ec1581e355 -r 66441b183ff5 dwt/dwthelper/utils.d --- 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 ){