comparison 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
comparison
equal deleted inserted replaced
81:931cabfa238f 82:9c2803aea121
39 39
40 Shell shell; 40 Shell shell;
41 char[][] values; 41 char[][] values;
42 char[][] labels; 42 char[][] labels;
43 43
44 public this(Shell parent) { 44 public this(Shell parent, ResourceBundle bdl ) {
45 if( resAddressBook is null ){ 45 if( resAddressBook is null ){
46 resAddressBook = ResourceBundle.getBundle("examples_addressbook"); 46 resAddressBook = bdl;//ResourceBundle.getBundle("examples_addressbook");
47 } 47 }
48 shell = new Shell(parent, DWT.DIALOG_TRIM | DWT.PRIMARY_MODAL); 48 shell = new Shell(parent, DWT.DIALOG_TRIM | DWT.PRIMARY_MODAL);
49 shell.setLayout(new GridLayout()); 49 shell.setLayout(new GridLayout());
50 } 50 }
51 51