]> git.saurik.com Git - wxWidgets.git/blob - wxPython/samples/wxPIA_book/Chapter-18/xrcsample.xrc
don't use strlen() to verify the length of the string as it can contain embedded...
[wxWidgets.git] / wxPython / samples / wxPIA_book / Chapter-18 / xrcsample.xrc
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <resource>
3 <object class="wxPanel" name="ID_PANEL">
4 <object class="wxGridBagSizer">
5 <object class="sizeritem">
6 <object class="wxStaticText">
7 <label>Name:</label>
8 </object>
9 <flag>wxALIGN_RIGHT</flag>
10 <cellpos>1,1</cellpos>
11 </object>
12 <vgap>5</vgap>
13 <hgap>5</hgap>
14 <object class="sizeritem">
15 <object class="wxTextCtrl" name="ID_NAME">
16 <size>200,-1</size>
17 </object>
18 <flag>wxEXPAND</flag>
19 <cellpos>1,2</cellpos>
20 </object>
21 <object class="sizeritem">
22 <object class="wxStaticText">
23 <label>Email:</label>
24 </object>
25 <flag>wxALIGN_RIGHT</flag>
26 <cellpos>2,1</cellpos>
27 </object>
28 <object class="sizeritem">
29 <object class="wxTextCtrl" name="ID_EMAIL"/>
30 <flag>wxEXPAND</flag>
31 <cellpos>2,2</cellpos>
32 </object>
33 <object class="sizeritem">
34 <object class="wxStaticText">
35 <label>Phone:</label>
36 </object>
37 <flag>wxALIGN_RIGHT</flag>
38 <cellpos>3,1</cellpos>
39 </object>
40 <object class="sizeritem">
41 <object class="wxTextCtrl" name="ID_PHONE"/>
42 <flag>wxEXPAND</flag>
43 <cellpos>3,2</cellpos>
44 </object>
45 <growablecols>2</growablecols>
46 <object class="sizeritem">
47 <object class="wxBoxSizer">
48 <orient>wxVERTICAL</orient>
49 <object class="sizeritem">
50 <object class="wxStaticLine">
51 <style>wxLI_HORIZONTAL</style>
52 </object>
53 <flag>wxEXPAND|wxALIGN_CENTRE_VERTICAL</flag>
54 </object>
55 </object>
56 <flag>wxEXPAND</flag>
57 <cellpos>5,0</cellpos>
58 <cellspan>1,4</cellspan>
59 </object>
60 <object class="sizeritem">
61 <object class="wxBoxSizer">
62 <orient>wxHORIZONTAL</orient>
63 <object class="spacer">
64 <size>10,10</size>
65 <option>1</option>
66 </object>
67 <object class="sizeritem">
68 <object class="wxButton" name="ID_OK">
69 <label>OK</label>
70 <default>1</default>
71 </object>
72 </object>
73 <object class="spacer">
74 <size>10,10</size>
75 <option>1</option>
76 <flag></flag>
77 </object>
78 <object class="sizeritem">
79 <object class="wxButton" name="ID_CANCEL">
80 <label>Cancel</label>
81 </object>
82 </object>
83 <object class="spacer">
84 <size>10,10</size>
85 <option>1</option>
86 </object>
87 </object>
88 <flag>wxEXPAND</flag>
89 <cellpos>6,0</cellpos>
90 <cellspan>1,4</cellspan>
91 </object>
92 </object>
93 </object>
94 </resource>