Mercurial > projects > dwt-win
diff dwt/dwthelper/utils.d @ 229:5ff96efb6f4b
Additions for forms
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 24 May 2008 08:37:28 +0200 |
parents | 628e9518870e |
children | ec7da638647f |
line wrap: on
line diff
--- a/dwt/dwthelper/utils.d Thu May 22 19:46:10 2008 +0200 +++ b/dwt/dwthelper/utils.d Sat May 24 08:37:28 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 ){