Mercurial > projects > dwt-samples
comparison 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 |
comparison
equal
deleted
inserted
replaced
81:931cabfa238f | 82:9c2803aea121 |
---|---|
57 * the dialog will search. | 57 * the dialog will search. |
58 * | 58 * |
59 * @param parent Shell | 59 * @param parent Shell |
60 * The shell that is the parent of the dialog. | 60 * The shell that is the parent of the dialog. |
61 */ | 61 */ |
62 public this(Shell parent) { | 62 public this(Shell parent, ResourceBundle bdl ) { |
63 if( resAddressBook is null ){ | 63 if( resAddressBook is null ){ |
64 resAddressBook = ResourceBundle.getBundle("examples_addressbook"); | 64 resAddressBook = bdl;//ResourceBundle.getBundle("examples_addressbook"); |
65 } | 65 } |
66 shell = new Shell(parent, DWT.CLOSE | DWT.BORDER | DWT.TITLE); | 66 shell = new Shell(parent, DWT.CLOSE | DWT.BORDER | DWT.TITLE); |
67 GridLayout layout = new GridLayout(); | 67 GridLayout layout = new GridLayout(); |
68 layout.numColumns = 2; | 68 layout.numColumns = 2; |
69 shell.setLayout(layout); | 69 shell.setLayout(layout); |