Mercurial > projects > dwt-samples
diff examples/addressbook/DataEntryDialog.d @ 82:9c2803aea121
Fix Addressbook example and HG ignores
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 12 May 2008 16:29:26 +0200 |
parents | 4a04b6759f98 |
children | eb84f9418bbf |
line wrap: on
line diff
--- a/examples/addressbook/DataEntryDialog.d Sun May 11 21:38:15 2008 +0200 +++ b/examples/addressbook/DataEntryDialog.d Mon May 12 16:29:26 2008 +0200 @@ -41,9 +41,9 @@ char[][] values; char[][] labels; -public this(Shell parent) { +public this(Shell parent, ResourceBundle bdl ) { if( resAddressBook is null ){ - resAddressBook = ResourceBundle.getBundle("examples_addressbook"); + resAddressBook = bdl;//ResourceBundle.getBundle("examples_addressbook"); } shell = new Shell(parent, DWT.DIALOG_TRIM | DWT.PRIMARY_MODAL); shell.setLayout(new GridLayout());