Mercurial > projects > dwt-addons
diff dwtx/ui/internal/forms/widgets/FormFonts.d @ 76:e193036d82c9
Fix continue porting
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 24 May 2008 06:18:55 +0200 |
parents | 5d489b9f966c |
children | 56fea7e5f0f9 |
line wrap: on
line diff
--- a/dwtx/ui/internal/forms/widgets/FormFonts.d Sat May 24 05:11:16 2008 +0200 +++ b/dwtx/ui/internal/forms/widgets/FormFonts.d Sat May 24 06:18:55 2008 +0200 @@ -23,7 +23,7 @@ public class FormFonts { - alias HashMap!(String,Object) HashMapStrToObj; + alias HashMap!(Object,Object) HashMapStrToObj; private static FormFonts instance; @@ -91,8 +91,8 @@ return result.getFont(); } Font boldFont = createBoldFont(display, font); - fonts.put(fid, new FontReference(boldFont)); - ids.put(boldFont, fid); + fonts.add(fid, new FontReference(boldFont)); + ids.add(boldFont, fid); return boldFont; }