]> git.saurik.com Git - wxWidgets.git/blob - samples/resource/dialog1.wxr
Updated resource sample
[wxWidgets.git] / samples / resource / dialog1.wxr
1 static char *dialog1 = "dialog(name = 'dialog1',\
2 style = 'wxRAISED_BORDER | wxCAPTION | wxTHICK_FRAME | wxSYSTEM_MENU',\
3 title = 'Test dialog box',\
4 id = 100,\
5 x = 10, y = 10, width = 198, height = 147,\
6 background_colour = 'D6D6D6',\
7 use_dialog_units = 1,\
8 use_system_defaults = 0,\
9 font = [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'Swiss'],\
10 control = [101, wxStaticBox, 'wxStaticBox', '0', 'group6', 5, 7, 184, 103,\
11 [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'Swiss']],\
12 control = [102, wxRadioBox, 'Radiobox', 'wxRA_HORIZONTAL', 'radiobox2', 15, 24, 36, 58, ['One', 'Two', 'Three', 'Four'], 1,\
13 [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'Swiss']],\
14 control = [104, wxTextCtrl, '', 'wxTE_MULTILINE', 'multitext3', 62, 24, 67, 33, 'wxWindows rules!',\
15 [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'Swiss']],\
16 control = [105, wxListBox, '', '0', 'listbox4', 62, 66, 67, 33, ['Apples', 'Bananas', 'Pears', 'Kiwis'],\
17 [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'Swiss']],\
18 control = [106, wxCheckBox, 'Checkbox', '0', 'checkbox9', 141, 26, 36, 14, 0,\
19 [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'Swiss']],\
20 control = [107, wxStaticText, 'My Message', '0', 'message10', 143, 57, 39, 12, '',\
21 [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'Swiss']],\
22 control = [108, wxButton, 'Press me', '0', 'button7', 141, 81, 36, 13, '',\
23 [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'Swiss']],\
24 control = [109, wxButton, 'Cancel', '0', 'button8', 62, 119, 55, 17, '',\
25 [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'Swiss']]).";
26