X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da865392847890996b548748db78a5d70882dc21..19e30148e18cc99296b26503c155e5cef59045f4:/samples/resource/dialog1.wxr diff --git a/samples/resource/dialog1.wxr b/samples/resource/dialog1.wxr index 1b3813e778..4a48e75a46 100644 --- a/samples/resource/dialog1.wxr +++ b/samples/resource/dialog1.wxr @@ -2,25 +2,25 @@ static char *dialog1 = "dialog(name = 'dialog1',\ style = 'wxRAISED_BORDER | wxCAPTION | wxTHICK_FRAME | wxSYSTEM_MENU',\ title = 'Test dialog box',\ id = 100,\ - x = 10, y = 10, width = 198, height = 147,\ + x = 10, y = 10, width = 210, height = 145,\ background_colour = 'D6D6D6',\ use_dialog_units = 1,\ - use_system_defaults = 0,\ - font = [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'Swiss'],\ - control = [101, wxStaticBox, 'wxStaticBox', '0', 'group6', 5, 7, 184, 103,\ - [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'Swiss']],\ - control = [102, wxRadioBox, 'Radiobox', 'wxRA_HORIZONTAL', 'radiobox2', 15, 24, 36, 58, ['One', 'Two', 'Three', 'Four'], 1,\ - [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'Swiss']],\ - control = [104, wxTextCtrl, '', 'wxTE_MULTILINE', 'multitext3', 62, 24, 67, 33, 'wxWindows rules!',\ - [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'Swiss']],\ - control = [105, wxListBox, '', '0', 'listbox4', 62, 66, 67, 33, ['Apples', 'Bananas', 'Pears', 'Kiwis'],\ - [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'Swiss']],\ - control = [106, wxCheckBox, 'Checkbox', '0', 'checkbox9', 141, 26, 36, 14, 0,\ - [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'Swiss']],\ - control = [107, wxStaticText, 'My Message', '0', 'message10', 143, 57, 39, 12, '',\ - [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'Swiss']],\ - control = [108, wxButton, 'Press me', '0', 'button7', 141, 81, 36, 13, '',\ - [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'Swiss']],\ - control = [109, wxButton, 'Cancel', '0', 'button8', 62, 119, 55, 17, '',\ - [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'Swiss']])."; + use_system_defaults = 1,\ + font = [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0],\ + control = [101, wxStaticBox, 'wxStaticBox', '0', 'group6', 5, 7, 200, 103,\ + [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]],\ + control = [102, wxRadioBox, 'Radiobox', 'wxRA_SPECIFY_COLS', 'radiobox2', 13, 24, 60, 72, ['One', 'Two', 'Three', 'Four', 'One more'], 1,\ + [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]],\ + control = [104, wxTextCtrl, '', 'wxTE_MULTILINE', 'multitext3', 80, 24, 67, 33, 'wxWindows rules!',\ + [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]],\ + control = [105, wxListBox, '', '0', 'listbox4', 80, 66, 67, 33, ['Apples', 'Bananas', 'Pears', 'Kiwis'],\ + [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]],\ + control = [106, wxCheckBox, 'Checkbox', '0', 'checkbox9', 150, 26, 50, 14, 0,\ + [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]],\ + control = [107, wxStaticText, 'My Message', '0', 'message10', 150, 57, 50, 12, '',\ + [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]],\ + control = [108, wxButton, 'Press me', '0', 'button7', 150, 81, 50, 13, '',\ + [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]],\ + control = [109, wxButton, 'Cancel', '0', 'button8', 80, 119, 55, 17, '',\ + [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]]).";