]> git.saurik.com Git - wxWidgets.git/blame - samples/resource/dialog1.wxr
Don't create a bitmap with dimensions <= 0...
[wxWidgets.git] / samples / resource / dialog1.wxr
CommitLineData
457814b5 1static char *dialog1 = "dialog(name = 'dialog1',\
da865392 2 style = 'wxRAISED_BORDER | wxCAPTION | wxTHICK_FRAME | wxSYSTEM_MENU',\
457814b5 3 title = 'Test dialog box',\
da865392 4 id = 100,\
f6bcfd97 5 x = 10, y = 10, width = 210, height = 145,\
da865392
RR
6 background_colour = 'D6D6D6',\
7 use_dialog_units = 1,\
137f22e1 8 use_system_defaults = 1,\
e70f5e13 9 font = [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0],\
f6bcfd97 10 control = [101, wxStaticBox, 'wxStaticBox', '0', 'group6', 5, 7, 200, 103,\
e70f5e13 11 [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]],\
f6bcfd97 12 control = [102, wxRadioBox, 'Radiobox', 'wxRA_SPECIFY_COLS', 'radiobox2', 13, 24, 60, 72, ['One', 'Two', 'Three', 'Four', 'One more'], 1,\
e70f5e13 13 [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]],\
f6bcfd97 14 control = [104, wxTextCtrl, '', 'wxTE_MULTILINE', 'multitext3', 80, 24, 67, 33, 'wxWindows rules!',\
e70f5e13 15 [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]],\
f6bcfd97 16 control = [105, wxListBox, '', '0', 'listbox4', 80, 66, 67, 33, ['Apples', 'Bananas', 'Pears', 'Kiwis'],\
e70f5e13 17 [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]],\
f6bcfd97 18 control = [106, wxCheckBox, 'Checkbox', '0', 'checkbox9', 150, 26, 50, 14, 0,\
e70f5e13 19 [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]],\
f6bcfd97 20 control = [107, wxStaticText, 'My Message', '0', 'message10', 150, 57, 50, 12, '',\
e70f5e13 21 [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]],\
f6bcfd97 22 control = [108, wxButton, 'Press me', '0', 'button7', 150, 81, 50, 13, '',\
e70f5e13 23 [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]],\
f6bcfd97 24 control = [109, wxButton, 'Cancel', '0', 'button8', 80, 119, 55, 17, '',\
e70f5e13 25 [12, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0]]).";
457814b5 26