]> git.saurik.com Git - wxWidgets.git/blob - samples/dnd/dnd.wxr
don't call wxYield() from EnsureVisible(), this is too dangerous - and unnecessary...
[wxWidgets.git] / samples / dnd / dnd.wxr
1 static char *dialogShape = "dialog(name = 'dialogShape',\
2 style = 'wxRAISED_BORDER | wxCAPTION | wxTHICK_FRAME | wxSYSTEM_MENU',\
3 title = 'Choose Shape',\
4 id = 6001,\
5 x = 10, y = 10, width = 224, height = 135,\
6 background_colour = 'C0C0C0',\
7 use_dialog_units = 1,\
8 use_system_defaults = 0,\
9 font = [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif'],\
10 control = [6002, wxStaticBox, '&Attributes', '0', 'staticbox2', 4, 50, 216, 54,\
11 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
12 control = [5100, wxButton, 'Ok', '0', 'button3', 124, 118, 45, 11, '',\
13 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
14 control = [5101, wxButton, 'Cancel', '0', 'button4', 176, 118, 45, 11, '',\
15 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
16 control = [6005, wxRadioBox, '&Shape', 'wxRA_SPECIFY_COLS', 'radio', 4, 4, 216, 25, ['None', 'Triangle', 'Rectangle', 'Ellipse'], 4,\
17 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
18 control = [6006, wxStaticText, 'Position &X:', '0', 'statictext6', 8, 64, 56, 13, '',\
19 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
20 control = [6008, wxTextCtrl, '', '0', 'textX', 46, 62, 33, 11, '',\
21 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
22 control = [6009, wxStaticText, '&Y:', '0', 'statictext9', 92, 63, 15, 6, '',\
23 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
24 control = [6010, wxTextCtrl, '', '0', 'textY', 104, 61, 32, 13, '',\
25 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
26 control = [6011, wxStaticText, 'Size &width:', '0', 'statictext11', 9, 87, 15, 6, '',\
27 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
28 control = [6012, wxTextCtrl, '', '0', 'textW', 46, 85, 32, 11, '',\
29 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
30 control = [6013, wxStaticText, '&height:', '0', 'statictext13', 82, 88, 15, 6, '',\
31 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
32 control = [6014, wxTextCtrl, '', '0', 'textH', 104, 84, 32, 11, '',\
33 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],\
34 control = [1001, wxButton, '&Colour...', '0', 'button15', 153, 73, 45, 11, '',\
35 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']]).";
36