Mercurial > projects > dwt-samples
diff examples/addressbook/SearchDialog.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/SearchDialog.d Sun May 11 21:38:15 2008 +0200 +++ b/examples/addressbook/SearchDialog.d Mon May 12 16:29:26 2008 +0200 @@ -59,9 +59,9 @@ * @param parent Shell * The shell that is the parent of the dialog. */ -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.CLOSE | DWT.BORDER | DWT.TITLE); GridLayout layout = new GridLayout();