]> git.saurik.com Git - wxWidgets.git/blob - samples/xrc/rc/controls.xrc
Avoid incompatible operand types
[wxWidgets.git] / samples / xrc / rc / controls.xrc
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <!-- $Id$ -->
4
5 <resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.3.0.1">
6
7 <object class="wxDialog" name="controls_dialog">
8 <title>Controls Example</title>
9 <style>wxCAPTION|wxSYSTEM_MENU|wxRESIZE_BORDER</style>
10 <exstyle>wxDIALOG_EX_CONTEXTHELP</exstyle>
11 <centered>1</centered>
12 <object class="wxFlexGridSizer">
13 <cols>1</cols>
14 <rows>0</rows>
15 <vgap>0</vgap>
16 <hgap>0</hgap>
17 <growablecols>0</growablecols>
18 <growablerows>0</growablerows>
19 <object class="sizeritem">
20 <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL</flag>
21 <border>5</border>
22 <object class="wxChoicebook" name="controls_book">
23 <size>550,250</size>
24
25 <object class="choicebookpage">
26 <label>wxAnimationCtrl</label>
27 <object class="wxPanel" name="animctrl">
28 <object class="wxFlexGridSizer">
29 <cols>2</cols>
30 <rows>1</rows>
31 <vgap>0</vgap>
32 <hgap>0</hgap>
33 <growablecols>0,1</growablecols>
34 <growablerows>0</growablerows>
35
36 <object class="sizeritem">
37 <flag>wxALIGN_CENTRE|wxALL</flag>
38 <border>5</border>
39 <object class="wxButton" name="controls_animation_button_play">
40 <label>Play</label>
41 </object>
42 </object>
43
44 <object class="sizeritem">
45 <flag>wxALIGN_CENTRE|wxALL</flag>
46 <border>5</border>
47 <object class="wxAnimationCtrl" name="controls_animation_ctrl">
48 <animation>throbber.gif</animation>
49 <inactive-bitmap>stop.xpm</inactive-bitmap>
50 </object>
51 </object>
52
53 </object>
54 </object>
55 </object>
56
57 <object class="choicebookpage">
58 <label>wxButton</label>
59 <object class="wxPanel" name="button">
60 <object class="wxFlexGridSizer">
61 <cols>4</cols>
62 <rows>0</rows>
63 <vgap>0</vgap>
64 <hgap>0</hgap>
65 <growablecols>0,1</growablecols>
66 <growablerows>0,1</growablerows>
67 <object class="sizeritem">
68 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
69 <border>5</border>
70 <object class="wxStaticText" name="controls_normal_button">
71 <label>Normal button:</label>
72 </object>
73 </object>
74 <object class="sizeritem">
75 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
76 <border>5</border>
77 <object class="wxButton" name="controls_normal_button">
78 <label>OK</label>
79 </object>
80 </object>
81 <object class="sizeritem">
82 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
83 <border>5</border>
84 <object class="wxStaticText" name="controls_statictext2_button">
85 <label>wxNO_BORDER style:</label>
86 </object>
87 </object>
88 <object class="sizeritem">
89 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
90 <border>5</border>
91 <object class="wxButton" name="controls_flat_button">
92 <style>wxNO_BORDER</style>
93 <label>OK</label>
94 </object>
95 </object>
96 <object class="sizeritem">
97 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
98 <border>5</border>
99 <object class="wxStaticText">
100 <label>wxBitmapButton</label>
101 </object>
102 </object>
103 <object class="sizeritem">
104 <flag>wxALIGN_CENTRE|wxALL</flag>
105 <border>5</border>
106 <object class="wxBitmapButton" name="controls_bitmapbutton">
107 <bitmap>controls.xpm</bitmap>
108 </object>
109 </object>
110 <object class="sizeritem">
111 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
112 <border>5</border>
113 <object class="wxStaticText">
114 <label>wxCommandLinkButton:</label>
115 </object>
116 </object>
117 <object class="sizeritem">
118 <flag>wxALIGN_CENTRE|wxALL</flag>
119 <border>5</border>
120 <object class="wxCommandLinkButton">
121 <label>Let's do it</label>
122 <note>Whatever it might be</note>
123 </object>
124 </object>
125 </object>
126 </object>
127 </object>
128 <object class="choicebookpage">
129 <label>wxCalendarControl</label>
130 <object class="wxPanel" name="calendar">
131 <object class="wxFlexGridSizer">
132 <cols>1</cols>
133 <rows>0</rows>
134 <vgap>0</vgap>
135 <hgap>0</hgap>
136 <growablecols>0</growablecols>
137 <growablerows>0</growablerows>
138 <object class="sizeritem">
139 <flag>wxALIGN_CENTRE|wxALL</flag>
140 <border>5</border>
141 <object class="wxCalendarCtrl" name="controls_calendarctrl">
142 <size>-1,-1</size>
143 </object>
144 </object>
145 </object>
146 </object>
147 </object>
148 <object class="choicebookpage">
149 <label>wxCheckBox</label>
150 <object class="wxPanel" name="checkbox">
151 <object class="wxFlexGridSizer">
152 <cols>1</cols>
153 <rows>0</rows>
154 <vgap>0</vgap>
155 <hgap>0</hgap>
156 <growablecols>0</growablecols>
157 <growablerows>0</growablerows>
158 <object class="sizeritem">
159 <flag>wxALIGN_CENTRE|wxALL</flag>
160 <border>5</border>
161 <object class="wxCheckBox" name="controls_unchecked_checkbox">
162 <label>Unchecked initially</label>
163 </object>
164 </object>
165 <object class="sizeritem">
166 <flag>wxALIGN_CENTRE|wxALL</flag>
167 <border>5</border>
168 <object class="wxCheckBox" name="controls_checked_checkbox">
169 <label>Checked initially</label>
170 <checked>1</checked>
171 </object>
172 </object>
173 </object>
174 </object>
175 </object>
176 <object class="choicebookpage">
177 <label>wxCheckListBox</label>
178 <object class="wxPanel" name="checklist">
179 <object class="wxFlexGridSizer">
180 <cols>1</cols>
181 <rows>0</rows>
182 <vgap>0</vgap>
183 <hgap>0</hgap>
184 <growablecols>0</growablecols>
185 <growablerows>0</growablerows>
186 <object class="sizeritem">
187 <flag>wxALIGN_CENTRE|wxALL</flag>
188 <border>5</border>
189 <object class="wxCheckListBox" name="conrols_checklist">
190 <size>180,180</size>
191 <content>
192 <item checked="1">Download library</item>
193 <item checked="1">Compile samples</item>
194 <item checked="1">Skim docs</item>
195 <item checked="1">Finish project</item>
196 <item>Wash car</item>
197 </content>
198 </object>
199 </object>
200 </object>
201 </object>
202 </object>
203
204 <object class="choicebookpage">
205 <label>wxChoice</label>
206 <object class="wxPanel" name="choice">
207 <object class="wxFlexGridSizer">
208 <cols>1</cols>
209 <rows>0</rows>
210 <vgap>0</vgap>
211 <hgap>0</hgap>
212 <growablecols>0</growablecols>
213 <growablerows>0</growablerows>
214 <object class="sizeritem">
215 <flag>wxALIGN_CENTRE|wxALL</flag>
216 <border>5</border>
217 <object class="wxChoice" name="controls_choice">
218 <size>180,-1</size>
219 <content>
220 <item>See</item>
221 <item>Hear</item>
222 <item>Feel</item>
223 <item>Smell</item>
224 <item>Taste</item>
225 <item>The Sixth Sense!</item>
226 </content>
227 </object>
228 </object>
229 </object>
230 </object>
231 </object>
232
233 <object class="choicebookpage">
234 <label>wxCollapsiblePane</label>
235 <object class="wxPanel" name="collpane">
236 <object class="wxFlexGridSizer">
237 <cols>1</cols>
238 <rows>1</rows>
239 <vgap>0</vgap>
240 <hgap>0</hgap>
241 <growablecols>0</growablecols>
242 <growablerows>0</growablerows>
243
244 <object class="sizeritem">
245 <flag>wxGROW|wxALL</flag>
246 <border>5</border>
247 <option>1</option>
248 <object class="wxCollapsiblePane" name="controls_collpane">
249 <label>Details:</label>
250 <collapsed>0</collapsed>
251 <object class="panewindow">
252
253 <object class="wxFlexGridSizer">
254 <cols>1</cols>
255 <rows>1</rows>
256 <vgap>0</vgap>
257 <hgap>0</hgap>
258 <growablecols>0</growablecols>
259 <growablerows>0</growablerows>
260
261 <object class="sizeritem">
262 <flag>wxALIGN_CENTRE|wxALL</flag>
263 <border>5</border>
264 <object class="wxStaticText" name="controls_dialog_statictext">
265 <label>
266 Inside a wxCollapsiblePane you can put everything you want and
267 lay them out using wxSizers, absolute positioning, everything you like!
268 </label>
269 </object>
270 </object>
271 </object>
272
273 </object>
274 </object>
275 </object>
276
277 </object>
278 </object>
279 </object>
280
281 <object class="choicebookpage">
282 <label>wxComboBox</label>
283 <object class="wxPanel" name="combobox">
284 <object class="wxFlexGridSizer">
285 <cols>1</cols>
286 <rows>0</rows>
287 <vgap>0</vgap>
288 <hgap>0</hgap>
289 <growablecols>0</growablecols>
290 <growablerows>0</growablerows>
291 <object class="sizeritem">
292 <flag>wxALIGN_CENTRE|wxALL</flag>
293 <border>5</border>
294 <object class="wxComboBox" name="controls_combobox">
295 <size>200,-1</size>
296 <style>wxCB_DROPDOWN</style>
297 <selection>4</selection>
298 <content>
299 <item>vim</item>
300 <item>emacs</item>
301 <item>notepad.exe</item>
302 <item>bbedit</item>
303 <item>nedit</item>
304 </content>
305 </object>
306 </object>
307 <object class="sizeritem">
308 <flag>wxALIGN_TOP|wxALIGN_CENTRE_HORIZONTAL|wxALL</flag>
309 <border>5</border>
310 <object class="wxBitmapComboBox">
311 <size>200,-1</size>
312 <style>wxCB_READONLY</style>
313 <selection>2</selection>
314 <object class="ownerdrawnitem">
315 <text>This is a</text>
316 <bitmap>basicdlg.xpm</bitmap>
317 </object>
318 <object class="ownerdrawnitem">
319 <text>read-only</text>
320 <bitmap>derivdlg.xpm</bitmap>
321 </object>
322 <object class="ownerdrawnitem">
323 <text>wxBitmapComboBox</text>
324 <bitmap>uncenter.xpm</bitmap>
325 </object>
326 <object class="ownerdrawnitem">
327 <text>control</text>
328 <bitmap>custclas.xpm</bitmap>
329 </object>
330 </object>
331 </object>
332 </object>
333 </object>
334 </object>
335 <object class="choicebookpage">
336 <label>wxGauge</label>
337 <object class="wxPanel" name="gauge">
338 <object class="wxFlexGridSizer">
339 <cols>2</cols>
340 <rows>0</rows>
341 <vgap>0</vgap>
342 <hgap>0</hgap>
343 <growablecols>0,1</growablecols>
344 <growablerows>0,1</growablerows>
345 <object class="sizeritem">
346 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
347 <border>5</border>
348 <object class="wxStaticText" name="controls_guage1_statictext">
349 <label>Horizontal smooth:</label>
350 </object>
351 </object>
352 <object class="sizeritem">
353 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
354 <border>5</border>
355 <object class="wxGauge" name="controls_horizontal_gauge">
356 <style>wxGA_SMOOTH</style>
357 <size>100,-1</size>
358 <max>100</max>
359 <value>50</value>
360 </object>
361 </object>
362 <object class="sizeritem">
363 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
364 <border>5</border>
365 <object class="wxStaticText" name="controls_gauge2_statictext">
366 <label>Vertical: custom width</label>
367 </object>
368 </object>
369 <object class="sizeritem">
370 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
371 <border>5</border>
372 <object class="wxGauge" name="controls_vertical_gauge">
373 <style>wxGA_VERTICAL</style>
374 <size>40,60</size>
375 <max>100</max>
376 <value>40</value>
377 </object>
378 </object>
379 </object>
380 </object>
381 </object>
382 <object class="choicebookpage">
383 <label>wxFile/DirCtrl</label>
384 <object class="wxPanel" name="genericdirctrl">
385 <object class="wxFlexGridSizer">
386 <cols>2</cols>
387 <growablecols>1</growablecols>
388 <growablerows>1</growablerows>
389 <object class="sizeritem">
390 <flag>wxALIGN_CENTRE|wxALL</flag>
391 <object class="wxStaticText">
392 <label>wxGenericDirCtrl</label>
393 </object>
394 </object>
395 <object class="sizeritem">
396 <flag>wxALIGN_CENTRE|wxALL</flag>
397 <object class="wxStaticText">
398 <label>wxFileCtrl</label>
399 </object>
400 </object>
401
402 <object class="sizeritem">
403 <flag>wxALIGN_CENTRE|wxALL</flag>
404 <border>5</border>
405 <object class="wxGenericDirCtrl" name="controls_genericdirctrl">
406 <size>200,200</size>
407 </object>
408 </object>
409 <object class="sizeritem">
410 <flag>wxEXPAND|wxALL</flag>
411 <border>5</border>
412 <object class="wxFileCtrl">
413 <wildcard>Text files (*.txt)</wildcard>
414 </object>
415 </object>
416 </object>
417 </object>
418 </object>
419 <object class="choicebookpage">
420 <label>wxHtmlWindow</label>
421 <object class="wxPanel" name="htmlwindow">
422 <object class="wxFlexGridSizer">
423 <cols>1</cols>
424 <rows>0</rows>
425 <vgap>0</vgap>
426 <hgap>0</hgap>
427 <growablecols>0</growablecols>
428 <growablerows>0</growablerows>
429 <object class="sizeritem">
430 <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL</flag>
431 <border>5</border>
432 <object class="wxHtmlWindow" name="controls_htmlwindow">
433 <size>450,250</size>
434 <htmlcode>
435 &lt;h2&gt;XRC Resources HTML&lt;/h2&gt;
436 &lt;p&gt;&lt;font color="#0000FF"&gt;XRC=Blue skies ahead.&lt;/font&gt;
437 &lt;p&gt;Italics useful for quoted or emphasized text:&lt;i&gt;"Some see things as they are and say why.
438 I dream things that never were, and say why not"&lt;/i&gt;
439 &lt;p&gt;&lt;pre&gt;Fixed width for code snippets.&lt;/pre&gt;
440 &lt;p&gt;Horizontal rules to organize sections: &lt;hr&gt;
441 &lt;p&gt;A wxImage is worth a thousand words and can be also used.
442 </htmlcode>
443 </object>
444 </object>
445 </object>
446 </object>
447 </object>
448 <object class="choicebookpage">
449 <label>wxListBox</label>
450 <object class="wxPanel" name="listbox">
451 <object class="wxFlexGridSizer">
452 <cols>1</cols>
453 <rows>0</rows>
454 <vgap>0</vgap>
455 <hgap>0</hgap>
456 <growablecols>0</growablecols>
457 <growablerows>0</growablerows>
458 <object class="sizeritem">
459 <flag>wxALIGN_CENTER|wxALL</flag>
460 <border>5</border>
461 <object class="wxListBox" name="controls_listbox">
462 <size>250,160</size>
463 <style>wxLB_SINGLE</style>
464 <content>
465 <item>Milk</item>
466 <item>Pizza</item>
467 <item>Bread</item>
468 <item>Orange juice</item>
469 <item>Paper towels</item>
470 </content>
471 </object>
472 </object>
473 </object>
474 </object>
475 </object>
476 <object class="choicebookpage">
477 <label>wxSimpleHtmlListBox</label>
478 <object class="wxPanel" name="simplehtmllistbox">
479 <object class="wxFlexGridSizer">
480 <cols>1</cols>
481 <rows>0</rows>
482 <vgap>0</vgap>
483 <hgap>0</hgap>
484 <growablecols>0</growablecols>
485 <growablerows>0</growablerows>
486 <object class="sizeritem">
487 <flag>wxALIGN_CENTER|wxALL</flag>
488 <border>5</border>
489 <object class="wxSimpleHtmlListBox" name="controls_simplehtmllistbox">
490 <size>250,160</size>
491 <style>wxHLB_MULTIPLE|wxHLB_DEFAULT_STYLE</style>
492 <content>
493 <item>&lt;b&gt;Bold&lt;/b&gt; Milk</item>
494 <item>&lt;i&gt;Rainbow &lt;font color="red"&gt;P&lt;/font&gt;&lt;font color="blue"&gt;i&lt;/font&gt;&lt;font color="yellow"&gt;z&lt;/font&gt;&lt;font color="green"&gt;z&lt;/font&gt;&lt;font color="purple"&gt;a&lt;/font&gt;&lt;/i&gt;</item>
495 <item>&lt;tt&gt;Plain bread&lt;/tt&gt;</item>
496 <item>&lt;font color="orange" size="+1"&gt;Orange juice&lt;/font&gt;</item>
497 <item>Paper towels</item>
498 </content>
499 </object>
500 </object>
501 </object>
502 </object>
503 </object>
504 <object class="choicebookpage">
505 <label>wxListCtrl</label>
506 <object class="wxPanel" name="listctrl">
507 <object class="wxBoxSizer">
508 <object class="sizeritem">
509 <flag>wxALIGN_CENTER|wxALL</flag>
510 <border>5</border>
511 <object class="wxListCtrl" name="controls_listctrl">
512 <size>220,160</size>
513 <style>wxLC_REPORT|wxBORDER_SIMPLE</style>
514 <object class="listcol">
515 <text>Name</text>
516 <width>150</width>
517 </object>
518 <object class="listcol">
519 <text>Weight</text>
520 <align>wxLIST_FORMAT_RIGHT</align>
521 <width>50</width>
522 </object>
523 <!-- the items are added from the code -->
524 </object>
525 </object>
526 <object class="sizeritem">
527 <flag>wxALIGN_CENTER|wxALL</flag>
528 <border>5</border>
529 <object class="wxListCtrl" name="controls_listctrl2">
530 <size>220,160</size>
531 <style>wxLC_ICON|wxBORDER_SIMPLE</style>
532 <object class="listitem">
533 <text>Information</text>
534 <bitmap stock_id="wxART_INFORMATION"/>
535 </object>
536 <object class="listitem">
537 <text>Question?</text>
538 <bitmap stock_id="wxART_QUESTION"/>
539 </object>
540 </object>
541 </object>
542 <object class="sizeritem">
543 <flag>wxALIGN_CENTER|wxALL</flag>
544 <border>5</border>
545 <object class="wxListCtrl" name="controls_listctrl3">
546 <size>220,160</size>
547 <style>wxLC_SMALL_ICON|wxBORDER_SIMPLE</style>
548 <imagelist-small>
549 <size>20,20</size>
550 <bitmap stock_id="wxART_INFORMATION"/>
551 <bitmap stock_id="wxART_QUESTION"/>
552 </imagelist-small>
553 <object class="listitem">
554 <text>Information</text>
555 <image-small>0</image-small>
556 </object>
557 <object class="listitem">
558 <text>Question?</text>
559 <image-small>1</image-small>
560 </object>
561 </object>
562 </object>
563 </object>
564 </object>
565 </object>
566 <object class="choicebookpage">
567 <label>wxPanel</label>
568 <object class="wxPanel" name="panel">
569 <object class="wxFlexGridSizer">
570 <cols>1</cols>
571 <rows>0</rows>
572 <vgap>0</vgap>
573 <hgap>0</hgap>
574 <growablecols>0</growablecols>
575 <growablerows>0</growablerows>
576 <object class="sizeritem">
577 <flag>wxALIGN_CENTRE|wxALL</flag>
578 <border>5</border>
579 <object class="wxPanel" name="controls_panel">
580 <size>200,160</size>
581 <bg>#0000FF</bg>
582 </object>
583 </object>
584 </object>
585 </object>
586 </object>
587 <object class="choicebookpage">
588 <label>wxSplitterWindow</label>
589 <object class="wxPanel" name="panel">
590 <object class="wxFlexGridSizer">
591 <cols>1</cols>
592 <rows>0</rows>
593 <vgap>0</vgap>
594 <hgap>0</hgap>
595 <growablecols>0</growablecols>
596 <growablerows>0</growablerows>
597 <object class="sizeritem">
598 <flag>wxALIGN_CENTRE|wxALL</flag>
599 <border>5</border>
600 <object class="wxSplitterWindow">
601 <minsize>50</minsize>
602 <sashpos>100</sashpos>
603 <size>400,200</size>
604 <object class="wxPanel" name="controls_panel">
605 <bg>#0000FF</bg>
606 </object>
607 <object class="wxPanel" name="controls_panel">
608 <bg>#00FF00</bg>
609 </object>
610 </object>
611 </object>
612 </object>
613 </object>
614 </object>
615 <object class="choicebookpage">
616 <label>wxRadioButton</label>
617 <object class="wxPanel" name="radiobutton">
618 <object class="wxFlexGridSizer">
619 <cols>1</cols>
620 <rows>0</rows>
621 <vgap>0</vgap>
622 <hgap>0</hgap>
623 <growablecols>0</growablecols>
624 <growablerows>0</growablerows>
625 <object class="sizeritem">
626 <flag>wxALIGN_CENTRE|wxALL</flag>
627 <border>5</border>
628 <object class="wxRadioButton" name="controls_unselected_radiobutton">
629 <label>Not selected</label>
630 </object>
631 </object>
632 <object class="sizeritem">
633 <flag>wxALIGN_CENTRE|wxALL</flag>
634 <border>5</border>
635 <object class="wxRadioButton" name="controls_selected_radiobutton">
636 <label>Selected</label>
637 <value>1</value>
638 </object>
639 </object>
640 </object>
641 </object>
642 </object>
643 <object class="choicebookpage">
644 <label>wxRadioBox</label>
645 <object class="wxPanel" name="radiobox">
646 <object class="wxFlexGridSizer">
647 <cols>1</cols>
648 <rows>0</rows>
649 <vgap>0</vgap>
650 <hgap>0</hgap>
651 <growablecols>0</growablecols>
652 <growablerows>0</growablerows>
653 <object class="sizeritem">
654 <flag>wxALIGN_CENTRE|wxALL</flag>
655 <border>5</border>
656 <object class="wxRadioBox" name="controls_radiobox">
657 <style>wxRA_SPECIFY_COLS</style>
658 <label>Radio stations</label>
659 <dimension>1</dimension>
660 <selection>0</selection>
661 <content>
662 <item tooltip="Powerful radio station" helptext="This station is for amateurs of hard rock and heavy metal">Power 108</item>
663 <item tooltip="Disabled radio station" enabled="0">Power 0</item>
664 <item tooltip="">WMMS 100.7</item>
665 <item tooltip="E=mc^2">Energy 98.3</item>
666 <item helptext="Favourite chukcha's radio">CHUM FM</item>
667 <item>92FM</item>
668 <item hidden="1">Very quite station</item>
669 </content>
670 </object>
671 </object>
672 </object>
673 </object>
674 </object>
675 <object class="choicebookpage">
676 <label>wxScrollBar</label>
677 <object class="wxPanel" name="scrollbar">
678 <object class="wxFlexGridSizer">
679 <cols>1</cols>
680 <rows>0</rows>
681 <vgap>0</vgap>
682 <hgap>0</hgap>
683 <growablecols>0</growablecols>
684 <growablerows>0</growablerows>
685 <object class="sizeritem">
686 <flag>wxALIGN_CENTRE|wxALL</flag>
687 <border>5</border>
688 <object class="wxScrollBar" name="controls_scrollbar">
689 <size>-1,160</size>
690 <value>50</value>
691 <range>100</range>
692 <thumbsize>30</thumbsize>
693 <style>wxSB_VERTICAL</style>
694 </object>
695 </object>
696 </object>
697 </object>
698 </object>
699 <object class="choicebookpage">
700 <label>wxSlider</label>
701 <object class="wxPanel" name="slider">
702 <object class="wxFlexGridSizer">
703 <cols>2</cols>
704 <rows>0</rows>
705 <vgap>0</vgap>
706 <hgap>0</hgap>
707 <growablecols>0,1</growablecols>
708 <growablerows>0,1</growablerows>
709 <object class="sizeritem">
710 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
711 <border>5</border>
712 <object class="wxStaticText" name="controls_slider1_statictext">
713 <label>Without ticks:</label>
714 </object>
715 </object>
716 <object class="sizeritem">
717 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
718 <border>5</border>
719 <object class="wxSlider" name="controls_noticks_slider">
720 <size>100,-1</size>
721 <style>wxSL_HORIZONTAL</style>
722 <max>100</max>
723 <value>0</value>
724 </object>
725 </object>
726 <object class="sizeritem">
727 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
728 <border>5</border>
729 <object class="wxStaticText" name="controls_slider2_statictext">
730 <label>With ticks:</label>
731 </object>
732 </object>
733 <object class="sizeritem">
734 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
735 <border>5</border>
736 <object class="wxSlider" name="controls_ticks_slider">
737 <size>100,-1</size>
738 <style>wxSL_HORIZONTAL|wxSL_LABELS</style>
739 <max>100</max>
740 <value>0</value>
741 </object>
742 </object>
743 </object>
744 </object>
745 </object>
746 <object class="choicebookpage">
747 <label>wxSpinButton</label>
748 <object class="wxPanel" name="spinbutton">
749 <object class="wxFlexGridSizer">
750 <cols>1</cols>
751 <rows>0</rows>
752 <vgap>0</vgap>
753 <hgap>0</hgap>
754 <growablecols>0</growablecols>
755 <growablerows>0</growablerows>
756 <object class="sizeritem">
757 <flag>wxALIGN_CENTRE|wxALL</flag>
758 <border>5</border>
759 <object class="wxSpinButton" name="controls_spinbutton">
760 <style>wxSP_WRAP</style>
761 <max>100</max>
762 <value>0</value>
763 </object>
764 </object>
765 </object>
766 </object>
767 </object>
768 <object class="choicebookpage">
769 <label>wxSpinCtrl</label>
770 <object class="wxPanel" name="spinctrl">
771 <object class="wxFlexGridSizer">
772 <cols>1</cols>
773 <rows>0</rows>
774 <vgap>0</vgap>
775 <hgap>0</hgap>
776 <growablecols>0</growablecols>
777 <growablerows>0</growablerows>
778 <object class="sizeritem">
779 <flag>wxALIGN_CENTRE|wxALL</flag>
780 <border>5</border>
781 <object class="wxSpinCtrl" name="controls_spinctrl">
782 <size>100,-1</size>
783 <max>100</max>
784 <value>0</value>
785 </object>
786 </object>
787 </object>
788 </object>
789 </object>
790 <object class="choicebookpage">
791 <label>wxStaticBitmap</label>
792 <object class="wxPanel" name="staticbitmap">
793 <object class="wxFlexGridSizer">
794 <cols>1</cols>
795 <rows>0</rows>
796 <vgap>0</vgap>
797 <hgap>0</hgap>
798 <growablecols>0</growablecols>
799 <growablerows>0</growablerows>
800 <object class="sizeritem">
801 <flag>wxALIGN_CENTRE|wxALL</flag>
802 <border>5</border>
803 <object class="wxStaticBitmap" name="controls_staticbitmap">
804 <bitmap>stop.xpm</bitmap>
805 </object>
806 </object>
807 </object>
808 </object>
809 </object>
810 <object class="choicebookpage">
811 <label>wxStaticBox</label>
812 <object class="wxPanel" name="staticbox">
813 <object class="wxFlexGridSizer">
814 <cols>1</cols>
815 <rows>0</rows>
816 <vgap>0</vgap>
817 <hgap>0</hgap>
818 <growablecols>0</growablecols>
819 <growablerows>0</growablerows>
820 <object class="sizeritem">
821 <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL</flag>
822 <border>5</border>
823 <object class="wxStaticBoxSizer">
824 <orient>wxVERTICAL</orient>
825 <label>Internet options</label>
826 </object>
827 </object>
828 </object>
829 </object>
830 </object>
831 <object class="choicebookpage">
832 <label>wxStaticLine</label>
833 <object class="wxPanel" name="staticline">
834 <object class="wxFlexGridSizer">
835 <cols>1</cols>
836 <rows>0</rows>
837 <vgap>0</vgap>
838 <hgap>0</hgap>
839 <growablecols>0</growablecols>
840 <growablerows>0,1</growablerows>
841 <object class="sizeritem">
842 <flag>wxALIGN_CENTRE|wxALL</flag>
843 <border>5</border>
844 <object class="wxStaticLine" name="controls_v_staticline">
845 <size>-1,100</size>
846 <style>wxLI_VERTICAL</style>
847 </object>
848 </object>
849 <object class="sizeritem">
850 <flag>wxALIGN_CENTRE|wxALL</flag>
851 <border>5</border>
852 <object class="wxStaticLine" name="controls_h_staticline">
853 <size>150,-1</size>
854 <style>wxLI_HORIZONTAL</style>
855 </object>
856 </object>
857 </object>
858 </object>
859 </object>
860 <object class="choicebookpage">
861 <label>wxStaticText</label>
862 <object class="wxPanel" name="statictext">
863 <object class="wxFlexGridSizer">
864 <cols>1</cols>
865 <rows>0</rows>
866 <vgap>0</vgap>
867 <hgap>0</hgap>
868 <growablecols>0</growablecols>
869 <growablerows>0</growablerows>
870 <object class="sizeritem">
871 <flag>wxALIGN_CENTRE|wxALL</flag>
872 <border>5</border>
873 <object class="wxStaticText" name="controls_statictext">
874 <label>It was a dark and stormy night.</label>
875 </object>
876 </object>
877 </object>
878 </object>
879 </object>
880 <object class="choicebookpage">
881 <label>wxTextCtrl</label>
882 <object class="wxPanel" name="textctrl">
883 <object class="wxFlexGridSizer">
884 <cols>2</cols>
885 <rows>0</rows>
886 <vgap>0</vgap>
887 <hgap>0</hgap>
888 <growablecols>0,1</growablecols>
889 <growablerows>0,1,2</growablerows>
890 <object class="sizeritem">
891 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
892 <border>5</border>
893 <object class="wxStaticText" name="controls_textctrl1_statictext">
894 <label>Single line:</label>
895 </object>
896 </object>
897 <object class="sizeritem">
898 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
899 <border>5</border>
900 <object class="wxTextCtrl" name="controls_single_textctrl">
901 <size>180,-1</size>
902 <value>A.A. Milne</value>
903 </object>
904 </object>
905 <object class="sizeritem">
906 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
907 <border>5</border>
908 <object class="wxStaticText" name="controls_textctrl2_statictext">
909 <label>Password:</label>
910 </object>
911 </object>
912 <object class="sizeritem">
913 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
914 <border>5</border>
915 <object class="wxTextCtrl" name="controls_password_textctrl">
916 <size>180,-1</size>
917 <style>wxTE_PASSWORD</style>
918 <value>TooManySecrets</value>
919 </object>
920 </object>
921 <object class="sizeritem">
922 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
923 <border>5</border>
924 <object class="wxStaticText" name="controls_textctrl3_statictext">
925 <label>Multiline:</label>
926 </object>
927 </object>
928 <object class="sizeritem">
929 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
930 <border>5</border>
931 <object class="wxTextCtrl" name="controls_multiline_textctrl">
932 <size>180,90</size>
933 <style>wxTE_MULTILINE</style>
934 <value>"So many pretty widgets" said Pooh, said he. "So many pretty widgets", said Pooh.</value>
935 </object>
936 </object>
937 <object class="sizeritem">
938 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
939 <border>5</border>
940 <object class="wxStaticText" name="controls_textctrl4_statictext">
941 <label>Search for:</label>
942 </object>
943 </object>
944 <object class="sizeritem">
945 <flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
946 <border>5</border>
947 <object class="wxSearchCtrl" name="controls_multiline_searchctrl">
948 <size>180,-1</size>
949 <value>true love</value>
950 </object>
951 </object>
952 </object>
953 </object>
954 </object>
955
956 <object class="choicebookpage">
957 <label>wxToolBar</label>
958 <object class="wxPanel" name="button">
959 <object class="wxFlexGridSizer">
960 <cols>2</cols>
961 <rows>0</rows>
962 <vgap>0</vgap>
963 <hgap>0</hgap>
964 <growablecols>1</growablecols>
965 <object class="sizeritem">
966 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
967 <border>5</border>
968 <object class="wxStaticText" name="controls_normal_button">
969 <label>Transparent background:</label>
970 </object>
971 </object>
972 <object class="sizeritem">
973 <flag>wxEXPAND|wxALL</flag>
974 <border>5</border>
975 <object class="wxToolBar">
976 <style>wxTB_FLAT|wxTB_NODIVIDER</style>
977 <margins>2,2</margins>
978 <object class="tool" name="New">
979 <bitmap stock_id="wxART_NEW"/>
980 <label>New</label>
981 </object>
982 <object class="tool" name="view_auto">
983 <bitmap stock_id="wxART_FILE_OPEN"/>
984 <label>View</label>
985 <dropdown>
986 <object class="wxMenu">
987 <object class="wxMenuItem" name="view_as_text">
988 <label>View as text</label>
989 </object>
990 <object class="wxMenuItem" name="view_as_hex">
991 <label>View as binary</label>
992 </object>
993 </object>
994 </dropdown>
995 </object>
996 <object class="separator"/>
997 <object class="tool" name="home">
998 <toggle>1</toggle>
999 <bitmap stock_id="wxART_GO_HOME"/>
1000 <label>Home</label>
1001 </object>
1002 <object class="separator"/>
1003 <object class="tool" name="up">
1004 <radio>1</radio>
1005 <bitmap stock_id="wxART_GO_UP"/>
1006 <label>Up</label>
1007 </object>
1008 <object class="tool" name="down">
1009 <radio>1</radio>
1010 <bitmap stock_id="wxART_GO_DOWN"/>
1011 <label>Down</label>
1012 </object>
1013 <object class="space"/>
1014 <object class="wxComboBox">
1015 <content>
1016 <item>Just</item>
1017 <item>a combobox</item>
1018 <item>in the toolbar</item>
1019 </content>
1020 </object>
1021 <object class="wxOwnerDrawnComboBox">
1022 <content>
1023 <item>Owner Drawn</item>
1024 <item>combobox</item>
1025 <item>in the toolbar</item>
1026 </content>
1027 </object>
1028 </object>
1029 </object>
1030 <object class="sizeritem">
1031 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL</flag>
1032 <border>5</border>
1033 <object class="wxStaticText" name="controls_statictext2_button">
1034 <label>Fixed color background:</label>
1035 </object>
1036 </object>
1037 <object class="sizeritem">
1038 <flag>wxEXPAND|wxALL</flag>
1039 <border>5</border>
1040 <object class="wxToolBar">
1041 <style>wxTB_FLAT|wxTB_NODIVIDER</style>
1042 <bg>#bbbbff</bg>
1043 <margins>2,2</margins>
1044 <object class="tool" name="New">
1045 <bitmap stock_id="wxART_NEW"/>
1046 <label>New</label>
1047 </object>
1048 <object class="tool" name="view_auto">
1049 <bitmap stock_id="wxART_FILE_OPEN"/>
1050 <label>View</label>
1051 <dropdown>
1052 <object class="wxMenu">
1053 <object class="wxMenuItem" name="view_as_text">
1054 <label>View as text</label>
1055 </object>
1056 <object class="wxMenuItem" name="view_as_hex">
1057 <label>View as binary</label>
1058 </object>
1059 </object>
1060 </dropdown>
1061 </object>
1062 <object class="separator"/>
1063 <object class="tool" name="home">
1064 <toggle>1</toggle>
1065 <bitmap stock_id="wxART_GO_HOME"/>
1066 <label>Home</label>
1067 </object>
1068 <object class="separator"/>
1069 <object class="tool" name="up">
1070 <radio>1</radio>
1071 <bitmap stock_id="wxART_GO_UP"/>
1072 <label>Up</label>
1073 </object>
1074 <object class="tool" name="down">
1075 <radio>1</radio>
1076 <bitmap stock_id="wxART_GO_DOWN"/>
1077 <label>Down</label>
1078 </object>
1079 <object class="space"/>
1080 <object class="wxComboBox">
1081 <content>
1082 <item>Just</item>
1083 <item>a combobox</item>
1084 <item>in the toolbar</item>
1085 </content>
1086 </object>
1087 <object class="wxOwnerDrawnComboBox">
1088 <content>
1089 <item>Owner Drawn</item>
1090 <item>combobox</item>
1091 <item>in the toolbar</item>
1092 </content>
1093 </object>
1094 </object>
1095 </object>
1096 </object>
1097 </object>
1098 </object>
1099
1100 <object class="choicebookpage">
1101 <label>wxToolbook</label>
1102 <object class="wxToolbook" name="controls_toolbook">
1103 <style>wxTBK_HORZ_LAYOUT</style>
1104 <size>350,280</size>
1105 <imagelist>
1106 <bitmap stock_id="wxART_QUESTION"/>
1107 <bitmap stock_id="wxART_INFORMATION"/>
1108 <bitmap stock_id="wxART_GO_HOME"/>
1109 </imagelist>
1110 <object class="toolbookpage">
1111 <label>Page 1</label>
1112 <image>0</image>
1113 <object class="wxButton" name="controls_toolbook_button1">
1114 <label>Button N1</label>
1115 </object>
1116 </object>
1117 <object class="toolbookpage">
1118 <label>Page 2</label>
1119 <image>1</image>
1120 <object class="wxButton" name="controls_toolbook_button2">
1121 <label>Button N2</label>
1122 </object>
1123 </object>
1124 <object class="toolbookpage">
1125 <label>Page 3</label>
1126 <image>2</image>
1127 <object class="wxButton" name="controls_toolbook_button3">
1128 <label>Button N3</label>
1129 </object>
1130 </object>
1131 </object>
1132 </object>
1133
1134 <object class="choicebookpage">
1135 <label>wxTreebook</label>
1136 <object class="wxTreebook" name="controls_treebook">
1137 <size>350,280</size>
1138 <style>wxSUNKEN_BORDER</style>
1139 <object class="treebookpage">
1140 <label>Page 1</label>
1141 <depth>0</depth>
1142 <object class="wxButton" name="controls_treebook_button1">
1143 <size>200,180</size>
1144 <label>Button N1</label>
1145 </object>
1146 </object>
1147 <object class="treebookpage">
1148 <label>Empty Page 2</label>
1149 <depth>1</depth>
1150 </object>
1151 <object class="treebookpage">
1152 <label>Page 3</label>
1153 <depth>2</depth>
1154 <object class="wxButton" name="controls_treebook_button3">
1155 <size>200,180</size>
1156 <label>Button N3</label>
1157 </object>
1158 </object>
1159 <object class="treebookpage">
1160 <label>Page 4</label>
1161 <depth>1</depth>
1162 <object class="wxButton" name="controls_treebook_button4">
1163 <size>200,180</size>
1164 <label>Button N4</label>
1165 </object>
1166 </object>
1167 </object>
1168 </object>
1169
1170 <object class="choicebookpage">
1171 <label>wxTreeCtrl</label>
1172 <object class="wxPanel" name="treectrl">
1173 <object class="wxFlexGridSizer">
1174 <cols>1</cols>
1175 <rows>0</rows>
1176 <vgap>0</vgap>
1177 <hgap>0</hgap>
1178 <growablecols>0</growablecols>
1179 <growablerows>0</growablerows>
1180 <object class="sizeritem">
1181 <flag>wxALIGN_CENTRE|wxALL</flag>
1182 <border>5</border>
1183 <object class="wxTreeCtrl" name="controls_treectrl">
1184 <size>280,180</size>
1185 <style>wxTR_HAS_BUTTONS|wxSUNKEN_BORDER</style>
1186 </object>
1187 </object>
1188 </object>
1189 </object>
1190 </object>
1191
1192 <object class="choicebookpage">
1193 <label>wx*PickerCtrl</label>
1194 <object class="wxPanel" name="pickers">
1195 <object class="wxFlexGridSizer">
1196 <cols>2</cols>
1197 <rows>0</rows>
1198 <vgap>10</vgap>
1199 <hgap>10</hgap>
1200 <growablecols>0,1</growablecols>
1201 <growablerows>0,1,2,3</growablerows>
1202 <object class="sizeritem">
1203 <flag>wxALIGN_CENTRE|wxALL</flag>
1204 <border>5</border>
1205 <object class="wxStaticText" name="controls_pickers_statictext">
1206 <label>wxColourPickerCtrl:</label>
1207 </object>
1208 </object>
1209 <object class="sizeritem">
1210 <flag>wxGROW|wxALL</flag>
1211 <option>1</option>
1212 <border>5</border>
1213 <object class="wxColourPickerCtrl" name="controls_colourpicker">
1214 <value>#00ff00</value>
1215 <style>wxCLRP_SHOW_LABEL</style>
1216 </object>
1217 </object>
1218 <object class="sizeritem">
1219 <flag>wxALIGN_CENTRE|wxALL</flag>
1220 <border>5</border>
1221 <object class="wxStaticText" name="controls_pickers_statictext2">
1222 <label>wxFilePickerCtrl:</label>
1223 </object>
1224 </object>
1225 <object class="sizeritem">
1226 <flag>wxGROW|wxALL</flag>
1227 <option>1</option>
1228 <border>5</border>
1229 <object class="wxFilePickerCtrl" name="controls_filepicker">
1230 <message>Here goes a message</message>
1231 <style>wxFLP_OPEN</style>
1232 <wildcard>*.png</wildcard>
1233 <value/>
1234 </object>
1235 </object>
1236 <object class="sizeritem">
1237 <flag>wxALIGN_CENTRE|wxALL</flag>
1238 <border>5</border>
1239 <object class="wxStaticText" name="controls_pickers_statictext3">
1240 <label>wxDirPickerCtrl:</label>
1241 </object>
1242 </object>
1243 <object class="sizeritem">
1244 <flag>wxGROW|wxALL</flag>
1245 <option>1</option>
1246 <border>5</border>
1247 <object class="wxDirPickerCtrl" name="controls_dirpicker">
1248 <value/>
1249 <style>wxDIRP_CHANGE_DIR</style>
1250 <message>Here goes a message</message>
1251 </object>
1252 </object>
1253 <object class="sizeritem">
1254 <flag>wxALIGN_CENTRE|wxALL</flag>
1255 <border>5</border>
1256 <object class="wxStaticText" name="controls_pickers_statictext4">
1257 <label>wxFontPickerCtrl:</label>
1258 </object>
1259 </object>
1260 <object class="sizeritem">
1261 <flag>wxGROW|wxALL</flag>
1262 <option>1</option>
1263 <border>5</border>
1264 <object class="wxFontPickerCtrl" name="controls_fontpicker">
1265 <style>wxFNTP_USEFONT_FOR_LABEL</style>
1266 <value>
1267 <size>20</size>
1268 <sysfont>wxSYS_DEFAULT_GUI_FONT</sysfont>
1269 </value>
1270 </object>
1271 </object>
1272 </object>
1273 </object>
1274 </object>
1275
1276 <object class="choicebookpage">
1277 <label>The Rest</label>
1278 <object class="wxPanel" name="Rest">
1279 <object class="wxFlexGridSizer">
1280 <cols>1</cols>
1281 <rows>0</rows>
1282 <vgap>0</vgap>
1283 <hgap>0</hgap>
1284 <growablecols>0</growablecols>
1285 <growablerows>0,1,2,3,4,5</growablerows>
1286 <object class="sizeritem">
1287 <flag>wxALIGN_CENTRE|wxALL</flag>
1288 <border>5</border>
1289 <object class="wxStaticText" name="controls_dialog_statictext">
1290 <label>wxDialog (This dialog is one)</label>
1291 </object>
1292 </object>
1293 <object class="sizeritem">
1294 <flag>wxALIGN_CENTRE|wxALL</flag>
1295 <border>5</border>
1296 <object class="wxStaticText" name="controls_frame_statictext">
1297 <label>wxFrame (This application's main frame is one)</label>
1298 </object>
1299 </object>
1300 <object class="sizeritem">
1301 <flag>wxALIGN_CENTRE|wxALL</flag>
1302 <border>5</border>
1303 <object class="wxStaticText" name="controls_menu_statictext">
1304 <label>wxMenu (This application's main frame uses one)</label>
1305 </object>
1306 </object>
1307 <object class="sizeritem">
1308 <flag>wxALIGN_CENTRE|wxALL</flag>
1309 <border>5</border>
1310 <object class="wxStaticText" name="controls_notebook_statictext">
1311 <label>wxBookCtrl (This dialog uses wxChoicebook)</label>
1312 </object>
1313 </object>
1314 <object class="sizeritem">
1315 <flag>wxALIGN_CENTRE|wxALL</flag>
1316 <border>5</border>
1317 <object class="wxStaticText" name="controls_sizer">
1318 <label>wxSizer (Used throughout application)</label>
1319 </object>
1320 </object>
1321 <object class="sizeritem">
1322 <flag>wxALIGN_CENTRE|wxALL</flag>
1323 <border>5</border>
1324 <object class="wxStaticText" name="controls_unknown_statictext">
1325 <label>unknown controls (See Custom Class example)</label>
1326 </object>
1327 </object>
1328 </object>
1329 </object>
1330 </object>
1331 </object>
1332 </object>
1333 <object class="sizeritem">
1334 <flag>wxALIGN_CENTRE|wxALL</flag>
1335 <border>5</border>
1336 <object class="wxButton" name="wxID_OK">
1337 <label>OK</label>
1338 <default>1</default>
1339 </object>
1340 </object>
1341 </object>
1342 </object>
1343
1344 </resource>