1 <?xml version=
"1.0" encoding=
"ISO-8859-1"?>
5 <resource xmlns=
"http://www.wxwidgets.org/wxxrc" version=
"2.3.0.1">
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">
17 <growablecols>0</growablecols>
18 <growablerows>0</growablerows>
19 <object class=
"sizeritem">
20 <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
22 <object class=
"wxChoicebook" name=
"controls_book">
25 <object class=
"choicebookpage">
26 <label>wxAnimationCtrl
</label>
27 <object class=
"wxPanel" name=
"animctrl">
28 <object class=
"wxFlexGridSizer">
33 <growablecols>0,
1</growablecols>
34 <growablerows>0</growablerows>
36 <object class=
"sizeritem">
37 <flag>wxALIGN_CENTRE|wxALL
</flag>
39 <object class=
"wxButton" name=
"controls_animation_button_play">
44 <object class=
"sizeritem">
45 <flag>wxALIGN_CENTRE|wxALL
</flag>
47 <object class=
"wxAnimationCtrl" name=
"controls_animation_ctrl">
48 <animation>throbber.gif
</animation>
49 <inactive-bitmap>stop.xpm
</inactive-bitmap>
57 <object class=
"choicebookpage">
58 <label>wxBannerWindow
</label>
59 <object class=
"wxPanel" name=
"bannerwindow">
60 <object class=
"wxBoxSizer">
61 <orient>wxHORIZONTAL
</orient>
63 <object class=
"sizeritem">
65 <object class=
"wxBannerWindow">
66 <title>Welcome to banner demo page!
</title>
67 <message>This is a default wxLEFT banner with some text.\nThe banner on the top uses a bitmap.
</message>
71 <object class=
"sizeritem">
72 <flag>wxEXPAND|wxLEFT|wxRIGHT
</flag>
75 <object class=
"wxBoxSizer">
76 <orient>wxVERTICAL
</orient>
78 <object class=
"sizeritem">
80 <object class=
"wxBannerWindow">
81 <direction>wxTOP
</direction>
82 <bitmap>wxbanner.gif
</bitmap>
84 <!-- Using spaces for indentation is ugly but will do for this simple example. -->
86 <message> You can also use text\n and bitmap together.
</message>
90 <object class=
"spacer">
94 <object class=
"sizeritem">
96 <object class=
"wxBannerWindow">
97 <direction>wxBOTTOM
</direction>
98 <title>A word of advice:
</title>
99 <message>You probably shouldn't use banners\non all four sides at once.
</message>
105 <object class=
"sizeritem">
106 <flag>wxEXPAND
</flag>
107 <object class=
"wxBannerWindow">
108 <direction>wxRIGHT
</direction>
109 <title>Custom Banner
</title>
110 <message>You can change the gradient colours.
</message>
111 <gradient-start>#
7f7f7f
</gradient-start>
112 <gradient-end>#ffffff
</gradient-end>
119 <object class=
"choicebookpage">
120 <label>wxButton
</label>
121 <object class=
"wxPanel" name=
"button">
122 <object class=
"wxFlexGridSizer">
127 <growablecols>0,
1</growablecols>
128 <growablerows>0,
1</growablerows>
129 <object class=
"sizeritem">
130 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
132 <object class=
"wxStaticText" name=
"controls_normal_button">
133 <label>Normal button:
</label>
136 <object class=
"sizeritem">
137 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
139 <object class=
"wxButton" name=
"controls_normal_button">
143 <object class=
"sizeritem">
144 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
146 <object class=
"wxStaticText" name=
"controls_statictext2_button">
147 <label>wxNO_BORDER style:
</label>
150 <object class=
"sizeritem">
151 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
153 <object class=
"wxButton" name=
"controls_flat_button">
154 <style>wxNO_BORDER
</style>
158 <object class=
"sizeritem">
159 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
161 <object class=
"wxStaticText">
162 <label>wxBitmapButton
</label>
165 <object class=
"sizeritem">
166 <flag>wxALIGN_CENTRE|wxALL
</flag>
168 <object class=
"wxBitmapButton" name=
"controls_bitmapbutton">
169 <bitmap>controls.xpm
</bitmap>
172 <object class=
"sizeritem">
173 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
175 <object class=
"wxStaticText">
176 <label>wxCommandLinkButton:
</label>
179 <object class=
"sizeritem">
180 <flag>wxALIGN_CENTRE|wxALL
</flag>
182 <object class=
"wxCommandLinkButton">
183 <label>Let's do it
</label>
184 <note>Whatever it might be
</note>
190 <object class=
"choicebookpage">
191 <label>wxCalendarControl
</label>
192 <object class=
"wxPanel" name=
"calendar">
193 <object class=
"wxFlexGridSizer">
198 <growablecols>0</growablecols>
199 <growablerows>0</growablerows>
200 <object class=
"sizeritem">
201 <flag>wxALIGN_CENTRE|wxALL
</flag>
203 <object class=
"wxCalendarCtrl" name=
"controls_calendarctrl">
210 <object class=
"choicebookpage">
211 <label>wxCheckBox
</label>
212 <object class=
"wxPanel" name=
"checkbox">
213 <object class=
"wxFlexGridSizer">
218 <growablecols>0</growablecols>
219 <growablerows>0</growablerows>
220 <object class=
"sizeritem">
221 <flag>wxALIGN_CENTRE|wxALL
</flag>
223 <object class=
"wxCheckBox" name=
"controls_unchecked_checkbox">
224 <label>Unchecked initially
</label>
227 <object class=
"sizeritem">
228 <flag>wxALIGN_CENTRE|wxALL
</flag>
230 <object class=
"wxCheckBox" name=
"controls_checked_checkbox">
231 <label>Checked initially
</label>
238 <object class=
"choicebookpage">
239 <label>wxCheckListBox
</label>
240 <object class=
"wxPanel" name=
"checklist">
241 <object class=
"wxFlexGridSizer">
246 <growablecols>0</growablecols>
247 <growablerows>0</growablerows>
248 <object class=
"sizeritem">
249 <flag>wxALIGN_CENTRE|wxALL
</flag>
251 <object class=
"wxCheckListBox" name=
"conrols_checklist">
254 <item checked=
"1">Download library
</item>
255 <item checked=
"1">Compile samples
</item>
256 <item checked=
"1">Skim docs
</item>
257 <item checked=
"1">Finish project
</item>
258 <item>Wash car
</item>
266 <object class=
"choicebookpage">
267 <label>wxChoice
</label>
268 <object class=
"wxPanel" name=
"choice">
269 <object class=
"wxFlexGridSizer">
274 <growablecols>0</growablecols>
275 <growablerows>0</growablerows>
276 <object class=
"sizeritem">
277 <flag>wxALIGN_CENTRE|wxALL
</flag>
279 <object class=
"wxChoice" name=
"controls_choice">
287 <item>The Sixth Sense!
</item>
295 <object class=
"choicebookpage">
296 <label>wxCollapsiblePane
</label>
297 <object class=
"wxPanel" name=
"collpane">
298 <object class=
"wxFlexGridSizer">
303 <growablecols>0</growablecols>
304 <growablerows>0</growablerows>
306 <object class=
"sizeritem">
307 <flag>wxGROW|wxALL
</flag>
310 <object class=
"wxCollapsiblePane" name=
"controls_collpane">
311 <label>Details:
</label>
312 <collapsed>0</collapsed>
313 <object class=
"panewindow">
315 <object class=
"wxFlexGridSizer">
320 <growablecols>0</growablecols>
321 <growablerows>0</growablerows>
323 <object class=
"sizeritem">
324 <flag>wxALIGN_CENTRE|wxALL
</flag>
326 <object class=
"wxStaticText" name=
"controls_dialog_statictext">
328 Inside a wxCollapsiblePane you can put everything you want and
329 lay them out using wxSizers, absolute positioning, everything you like!
343 <object class=
"choicebookpage">
344 <label>wxComboBox
</label>
345 <object class=
"wxPanel" name=
"combobox">
346 <object class=
"wxFlexGridSizer">
351 <growablecols>0</growablecols>
352 <growablerows>0</growablerows>
353 <object class=
"sizeritem">
354 <flag>wxALIGN_CENTRE|wxALL
</flag>
356 <object class=
"wxComboBox" name=
"controls_combobox">
358 <style>wxCB_DROPDOWN
</style>
359 <selection>4</selection>
363 <item>notepad.exe
</item>
369 <object class=
"sizeritem">
370 <flag>wxALIGN_TOP|wxALIGN_CENTRE_HORIZONTAL|wxALL
</flag>
372 <object class=
"wxBitmapComboBox">
374 <style>wxCB_READONLY
</style>
375 <selection>2</selection>
376 <object class=
"ownerdrawnitem">
377 <text>This is a
</text>
378 <bitmap>basicdlg.xpm
</bitmap>
380 <object class=
"ownerdrawnitem">
381 <text>read-only
</text>
382 <bitmap>derivdlg.xpm
</bitmap>
384 <object class=
"ownerdrawnitem">
385 <text>wxBitmapComboBox
</text>
386 <bitmap>uncenter.xpm
</bitmap>
388 <object class=
"ownerdrawnitem">
390 <bitmap>custclas.xpm
</bitmap>
397 <object class=
"choicebookpage">
398 <label>wxGauge
</label>
399 <object class=
"wxPanel" name=
"gauge">
400 <object class=
"wxFlexGridSizer">
405 <growablecols>0,
1</growablecols>
406 <growablerows>0,
1</growablerows>
407 <object class=
"sizeritem">
408 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
410 <object class=
"wxStaticText" name=
"controls_guage1_statictext">
411 <label>Horizontal smooth:
</label>
414 <object class=
"sizeritem">
415 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
417 <object class=
"wxGauge" name=
"controls_horizontal_gauge">
418 <style>wxGA_SMOOTH
</style>
424 <object class=
"sizeritem">
425 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
427 <object class=
"wxStaticText" name=
"controls_gauge2_statictext">
428 <label>Vertical: custom width
</label>
431 <object class=
"sizeritem">
432 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
434 <object class=
"wxGauge" name=
"controls_vertical_gauge">
435 <style>wxGA_VERTICAL
</style>
444 <object class=
"choicebookpage">
445 <label>wxFile/DirCtrl
</label>
446 <object class=
"wxPanel" name=
"genericdirctrl">
447 <object class=
"wxFlexGridSizer">
449 <growablecols>1</growablecols>
450 <growablerows>1</growablerows>
451 <object class=
"sizeritem">
452 <flag>wxALIGN_CENTRE|wxALL
</flag>
453 <object class=
"wxStaticText">
454 <label>wxGenericDirCtrl
</label>
457 <object class=
"sizeritem">
458 <flag>wxALIGN_CENTRE|wxALL
</flag>
459 <object class=
"wxStaticText">
460 <label>wxFileCtrl
</label>
464 <object class=
"sizeritem">
465 <flag>wxALIGN_CENTRE|wxALL
</flag>
467 <object class=
"wxGenericDirCtrl" name=
"controls_genericdirctrl">
471 <object class=
"sizeritem">
472 <flag>wxEXPAND|wxALL
</flag>
474 <object class=
"wxFileCtrl">
475 <wildcard>Text files (*.txt)
</wildcard>
481 <object class=
"choicebookpage">
482 <label>wxHtmlWindow
</label>
483 <object class=
"wxPanel" name=
"htmlwindow">
484 <object class=
"wxFlexGridSizer">
489 <growablecols>0</growablecols>
490 <growablerows>0</growablerows>
491 <object class=
"sizeritem">
492 <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
494 <object class=
"wxHtmlWindow" name=
"controls_htmlwindow">
497 <h2
>XRC Resources HTML
</h2
>
498 <p
><font
color="#
0000FF"
>XRC=Blue skies ahead.
</font
>
499 <p
>Italics useful for quoted or emphasized text:
<i
>"Some see things as they are and say why.
500 I dream things that never were, and say why not"
</i
>
501 <p
><pre
>Fixed width for code snippets.
</pre
>
502 <p
>Horizontal rules to organize sections:
<hr
>
503 <p
>A wxImage is worth a thousand words and can be also used.
510 <object class=
"choicebookpage">
511 <label>wxListBox
</label>
512 <object class=
"wxPanel" name=
"listbox">
513 <object class=
"wxFlexGridSizer">
518 <growablecols>0</growablecols>
519 <growablerows>0</growablerows>
520 <object class=
"sizeritem">
521 <flag>wxALIGN_CENTER|wxALL
</flag>
523 <object class=
"wxListBox" name=
"controls_listbox">
525 <style>wxLB_SINGLE
</style>
530 <item>Orange juice
</item>
531 <item>Paper towels
</item>
538 <object class=
"choicebookpage">
539 <label>wxSimpleHtmlListBox
</label>
540 <object class=
"wxPanel" name=
"simplehtmllistbox">
541 <object class=
"wxFlexGridSizer">
546 <growablecols>0</growablecols>
547 <growablerows>0</growablerows>
548 <object class=
"sizeritem">
549 <flag>wxALIGN_CENTER|wxALL
</flag>
551 <object class=
"wxSimpleHtmlListBox" name=
"controls_simplehtmllistbox">
553 <style>wxHLB_MULTIPLE|wxHLB_DEFAULT_STYLE
</style>
555 <item><b
>Bold
</b
> Milk
</item>
556 <item><i
>Rainbow
<font
color="red"
>P
</font
><font
color="blue"
>i
</font
><font
color="yellow"
>z
</font
><font
color="green"
>z
</font
><font
color="purple"
>a
</font
></i
></item>
557 <item><tt
>Plain bread
</tt
></item>
558 <item><font
color="orange"
size="+
1"
>Orange juice
</font
></item>
559 <item>Paper towels
</item>
566 <object class=
"choicebookpage">
567 <label>wxListCtrl
</label>
568 <object class=
"wxPanel" name=
"listctrl">
569 <object class=
"wxBoxSizer">
570 <object class=
"sizeritem">
571 <flag>wxALIGN_CENTER|wxALL
</flag>
573 <object class=
"wxListCtrl" name=
"controls_listctrl">
575 <style>wxLC_REPORT|wxBORDER_SIMPLE
</style>
578 <bitmap stock_id=
"wxART_HELP_BOOK"/>
579 <bitmap stock_id=
"wxART_INFORMATION"/>
580 <bitmap stock_id=
"wxART_GO_UP"/>
581 <bitmap stock_id=
"wxART_PLUS"/>
582 <bitmap stock_id=
"wxART_GO_DOWN"/>
583 <bitmap stock_id=
"wxART_WARNING"/>
585 <object class=
"listcol">
590 <object class=
"listcol">
592 <align>wxLIST_FORMAT_RIGHT
</align>
596 <!-- the items are added from the code -->
599 <object class=
"sizeritem">
600 <flag>wxALIGN_CENTER|wxALL
</flag>
602 <object class=
"wxListCtrl" name=
"controls_listctrl2">
604 <style>wxLC_ICON|wxBORDER_SIMPLE
</style>
605 <object class=
"listitem">
606 <text>Information
</text>
607 <bitmap stock_id=
"wxART_INFORMATION"/>
609 <object class=
"listitem">
610 <text>Question?
</text>
611 <bitmap stock_id=
"wxART_QUESTION"/>
615 <object class=
"sizeritem">
616 <flag>wxALIGN_CENTER|wxALL
</flag>
618 <object class=
"wxListCtrl" name=
"controls_listctrl3">
620 <style>wxLC_SMALL_ICON|wxBORDER_SIMPLE
</style>
623 <bitmap stock_id=
"wxART_INFORMATION"/>
624 <bitmap stock_id=
"wxART_QUESTION"/>
626 <object class=
"listitem">
627 <text>Information
</text>
628 <image-small>0</image-small>
630 <object class=
"listitem">
631 <text>Question?
</text>
632 <image-small>1</image-small>
639 <object class=
"choicebookpage">
640 <label>wxPanel
</label>
641 <object class=
"wxPanel" name=
"panel">
642 <object class=
"wxFlexGridSizer">
647 <growablecols>0</growablecols>
648 <growablerows>0</growablerows>
649 <object class=
"sizeritem">
650 <flag>wxALIGN_CENTRE|wxALL
</flag>
652 <object class=
"wxPanel" name=
"controls_panel">
660 <object class=
"choicebookpage">
661 <label>wxSplitterWindow
</label>
662 <object class=
"wxPanel" name=
"panel">
663 <object class=
"wxFlexGridSizer">
668 <growablecols>0</growablecols>
669 <growablerows>0</growablerows>
670 <object class=
"sizeritem">
671 <flag>wxALIGN_CENTRE|wxALL
</flag>
673 <object class=
"wxSplitterWindow">
674 <minsize>50</minsize>
675 <sashpos>100</sashpos>
677 <object class=
"wxPanel" name=
"controls_panel">
680 <object class=
"wxPanel" name=
"controls_panel">
688 <object class=
"choicebookpage">
689 <label>wxRadioButton
</label>
690 <object class=
"wxPanel" name=
"radiobutton">
691 <object class=
"wxFlexGridSizer">
696 <growablecols>0</growablecols>
697 <growablerows>0</growablerows>
698 <object class=
"sizeritem">
699 <flag>wxALIGN_CENTRE|wxALL
</flag>
701 <object class=
"wxRadioButton" name=
"controls_unselected_radiobutton">
702 <label>Not selected
</label>
705 <object class=
"sizeritem">
706 <flag>wxALIGN_CENTRE|wxALL
</flag>
708 <object class=
"wxRadioButton" name=
"controls_selected_radiobutton">
709 <label>Selected
</label>
716 <object class=
"choicebookpage">
717 <label>wxRadioBox
</label>
718 <object class=
"wxPanel" name=
"radiobox">
719 <object class=
"wxFlexGridSizer">
724 <growablecols>0</growablecols>
725 <growablerows>0</growablerows>
726 <object class=
"sizeritem">
727 <flag>wxALIGN_CENTRE|wxALL
</flag>
729 <object class=
"wxRadioBox" name=
"controls_radiobox">
730 <style>wxRA_SPECIFY_COLS
</style>
731 <label>Radio stations
</label>
732 <dimension>1</dimension>
733 <selection>0</selection>
735 <item tooltip=
"Powerful radio station" helptext=
"This station is for amateurs of hard rock and heavy metal">Power
108</item>
736 <item tooltip=
"Disabled radio station" enabled=
"0">Power
0</item>
737 <item tooltip=
"">WMMS
100.7</item>
738 <item tooltip=
"E=mc^2">Energy
98.3</item>
739 <item helptext=
"Favourite chukcha's radio">CHUM FM
</item>
741 <item hidden=
"1">Very quite station
</item>
748 <object class=
"choicebookpage">
749 <label>wxScrollBar
</label>
750 <object class=
"wxPanel" name=
"scrollbar">
751 <object class=
"wxFlexGridSizer">
756 <growablecols>0</growablecols>
757 <growablerows>0</growablerows>
758 <object class=
"sizeritem">
759 <flag>wxALIGN_CENTRE|wxALL
</flag>
761 <object class=
"wxScrollBar" name=
"controls_scrollbar">
765 <thumbsize>30</thumbsize>
766 <style>wxSB_VERTICAL
</style>
772 <object class=
"choicebookpage">
773 <label>wxSlider
</label>
774 <object class=
"wxPanel" name=
"slider">
775 <object class=
"wxFlexGridSizer">
780 <growablecols>0,
1</growablecols>
781 <growablerows>0,
1</growablerows>
782 <object class=
"sizeritem">
783 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
785 <object class=
"wxStaticText" name=
"controls_slider1_statictext">
786 <label>Without ticks:
</label>
789 <object class=
"sizeritem">
790 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
792 <object class=
"wxSlider" name=
"controls_noticks_slider">
794 <style>wxSL_HORIZONTAL
</style>
799 <object class=
"sizeritem">
800 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
802 <object class=
"wxStaticText" name=
"controls_slider2_statictext">
803 <label>With ticks:
</label>
806 <object class=
"sizeritem">
807 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
809 <object class=
"wxSlider" name=
"controls_ticks_slider">
811 <style>wxSL_HORIZONTAL|wxSL_LABELS
</style>
819 <object class=
"choicebookpage">
820 <label>wxSpinButton
</label>
821 <object class=
"wxPanel" name=
"spinbutton">
822 <object class=
"wxFlexGridSizer">
827 <growablecols>0</growablecols>
828 <growablerows>0</growablerows>
829 <object class=
"sizeritem">
830 <flag>wxALIGN_CENTRE|wxALL
</flag>
832 <object class=
"wxSpinButton" name=
"controls_spinbutton">
833 <style>wxSP_WRAP
</style>
841 <object class=
"choicebookpage">
842 <label>wxSpinCtrl
</label>
843 <object class=
"wxPanel" name=
"spinctrl">
844 <object class=
"wxFlexGridSizer">
849 <growablecols>0</growablecols>
850 <growablerows>0</growablerows>
851 <object class=
"sizeritem">
852 <flag>wxALIGN_CENTRE|wxALL
</flag>
854 <object class=
"wxSpinCtrl" name=
"controls_spinctrl">
864 <object class=
"choicebookpage">
865 <label>wxStaticBitmap
</label>
866 <object class=
"wxPanel" name=
"staticbitmap">
867 <object class=
"wxFlexGridSizer">
872 <growablecols>0</growablecols>
873 <growablerows>0</growablerows>
874 <object class=
"sizeritem">
875 <flag>wxALIGN_CENTRE|wxALL
</flag>
877 <object class=
"wxStaticBitmap" name=
"controls_staticbitmap">
878 <bitmap>stop.xpm
</bitmap>
884 <object class=
"choicebookpage">
885 <label>wxStaticBox
</label>
886 <object class=
"wxPanel" name=
"staticbox">
887 <object class=
"wxFlexGridSizer">
892 <growablecols>0</growablecols>
893 <growablerows>0</growablerows>
894 <object class=
"sizeritem">
895 <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
897 <object class=
"wxStaticBoxSizer">
898 <orient>wxVERTICAL
</orient>
899 <label>Internet options
</label>
905 <object class=
"choicebookpage">
906 <label>wxStaticLine
</label>
907 <object class=
"wxPanel" name=
"staticline">
908 <object class=
"wxFlexGridSizer">
913 <growablecols>0</growablecols>
914 <growablerows>0,
1</growablerows>
915 <object class=
"sizeritem">
916 <flag>wxALIGN_CENTRE|wxALL
</flag>
918 <object class=
"wxStaticLine" name=
"controls_v_staticline">
920 <style>wxLI_VERTICAL
</style>
923 <object class=
"sizeritem">
924 <flag>wxALIGN_CENTRE|wxALL
</flag>
926 <object class=
"wxStaticLine" name=
"controls_h_staticline">
928 <style>wxLI_HORIZONTAL
</style>
934 <object class=
"choicebookpage">
935 <label>wxStaticText
</label>
936 <object class=
"wxPanel" name=
"statictext">
937 <object class=
"wxFlexGridSizer">
942 <growablecols>0</growablecols>
943 <growablerows>0</growablerows>
944 <object class=
"sizeritem">
945 <flag>wxALIGN_CENTRE|wxALL
</flag>
947 <object class=
"wxStaticText" name=
"controls_statictext">
948 <label>It was a dark and stormy night.
</label>
954 <object class=
"choicebookpage">
955 <label>wxTextCtrl
</label>
956 <object class=
"wxPanel" name=
"textctrl">
957 <object class=
"wxFlexGridSizer">
962 <growablecols>0,
1</growablecols>
963 <growablerows>0,
1,
2</growablerows>
964 <object class=
"sizeritem">
965 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
967 <object class=
"wxStaticText" name=
"controls_textctrl1_statictext">
968 <label>Single line:
</label>
971 <object class=
"sizeritem">
972 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
974 <object class=
"wxTextCtrl" name=
"controls_single_textctrl">
976 <value>A.A. Milne
</value>
979 <object class=
"sizeritem">
980 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
982 <object class=
"wxStaticText" name=
"controls_textctrl2_statictext">
983 <label>Password:
</label>
986 <object class=
"sizeritem">
987 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
989 <object class=
"wxTextCtrl" name=
"controls_password_textctrl">
991 <style>wxTE_PASSWORD
</style>
992 <value>TooManySecrets
</value>
995 <object class=
"sizeritem">
996 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
998 <object class=
"wxStaticText" name=
"controls_textctrl3_statictext">
999 <label>Multiline:
</label>
1002 <object class=
"sizeritem">
1003 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
1005 <object class=
"wxTextCtrl" name=
"controls_multiline_textctrl">
1007 <style>wxTE_MULTILINE
</style>
1008 <value>"So many pretty widgets" said Pooh, said he.
"So many pretty widgets", said Pooh.
</value>
1011 <object class=
"sizeritem">
1012 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
1014 <object class=
"wxStaticText" name=
"controls_textctrl4_statictext">
1015 <label>Search for:
</label>
1018 <object class=
"sizeritem">
1019 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
1021 <object class=
"wxSearchCtrl" name=
"controls_multiline_searchctrl">
1023 <value>true love
</value>
1030 <object class=
"choicebookpage">
1031 <label>wxToolBar
</label>
1032 <object class=
"wxPanel" name=
"button">
1033 <object class=
"wxFlexGridSizer">
1038 <growablecols>1</growablecols>
1039 <object class=
"sizeritem">
1040 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
1042 <object class=
"wxStaticText" name=
"controls_normal_button">
1043 <label>Transparent background:
</label>
1046 <object class=
"sizeritem">
1047 <flag>wxEXPAND|wxALL
</flag>
1049 <object class=
"wxToolBar">
1050 <style>wxTB_FLAT|wxTB_NODIVIDER
</style>
1051 <margins>2,
2</margins>
1052 <object class=
"tool" name=
"New">
1053 <bitmap stock_id=
"wxART_NEW"/>
1056 <object class=
"tool" name=
"view_auto">
1057 <bitmap stock_id=
"wxART_FILE_OPEN"/>
1060 <object class=
"wxMenu">
1061 <object class=
"wxMenuItem" name=
"view_as_text">
1062 <label>View as text
</label>
1064 <object class=
"wxMenuItem" name=
"view_as_hex">
1065 <label>View as binary
</label>
1070 <object class=
"separator"/>
1071 <object class=
"tool" name=
"home">
1073 <bitmap stock_id=
"wxART_GO_HOME"/>
1076 <object class=
"separator"/>
1077 <object class=
"tool" name=
"up">
1079 <bitmap stock_id=
"wxART_GO_UP"/>
1082 <object class=
"tool" name=
"down">
1084 <bitmap stock_id=
"wxART_GO_DOWN"/>
1087 <object class=
"space"/>
1088 <object class=
"wxComboBox">
1091 <item>a combobox
</item>
1092 <item>in the toolbar
</item>
1095 <object class=
"wxOwnerDrawnComboBox">
1097 <item>Owner Drawn
</item>
1098 <item>combobox
</item>
1099 <item>in the toolbar
</item>
1104 <object class=
"sizeritem">
1105 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
1107 <object class=
"wxStaticText" name=
"controls_statictext2_button">
1108 <label>Fixed color background:
</label>
1111 <object class=
"sizeritem">
1112 <flag>wxEXPAND|wxALL
</flag>
1114 <object class=
"wxToolBar">
1115 <style>wxTB_FLAT|wxTB_NODIVIDER
</style>
1117 <margins>2,
2</margins>
1118 <object class=
"tool" name=
"New">
1119 <bitmap stock_id=
"wxART_NEW"/>
1122 <object class=
"tool" name=
"view_auto">
1123 <bitmap stock_id=
"wxART_FILE_OPEN"/>
1126 <object class=
"wxMenu">
1127 <object class=
"wxMenuItem" name=
"view_as_text">
1128 <label>View as text
</label>
1130 <object class=
"wxMenuItem" name=
"view_as_hex">
1131 <label>View as binary
</label>
1136 <object class=
"separator"/>
1137 <object class=
"tool" name=
"home">
1139 <bitmap stock_id=
"wxART_GO_HOME"/>
1142 <object class=
"separator"/>
1143 <object class=
"tool" name=
"up">
1145 <bitmap stock_id=
"wxART_GO_UP"/>
1148 <object class=
"tool" name=
"down">
1150 <bitmap stock_id=
"wxART_GO_DOWN"/>
1153 <object class=
"space"/>
1154 <object class=
"wxComboBox">
1157 <item>a combobox
</item>
1158 <item>in the toolbar
</item>
1161 <object class=
"wxOwnerDrawnComboBox">
1163 <item>Owner Drawn
</item>
1164 <item>combobox
</item>
1165 <item>in the toolbar
</item>
1174 <object class=
"choicebookpage">
1175 <label>wxToolbook
</label>
1176 <object class=
"wxToolbook" name=
"controls_toolbook">
1177 <style>wxTBK_HORZ_LAYOUT
</style>
1178 <size>350,
280</size>
1180 <bitmap stock_id=
"wxART_QUESTION"/>
1181 <bitmap stock_id=
"wxART_INFORMATION"/>
1182 <bitmap stock_id=
"wxART_GO_HOME"/>
1184 <object class=
"toolbookpage">
1185 <label>Page
1</label>
1187 <object class=
"wxButton" name=
"controls_toolbook_button1">
1188 <label>Button N1
</label>
1191 <object class=
"toolbookpage">
1192 <label>Page
2</label>
1194 <object class=
"wxButton" name=
"controls_toolbook_button2">
1195 <label>Button N2
</label>
1198 <object class=
"toolbookpage">
1199 <label>Page
3</label>
1201 <object class=
"wxButton" name=
"controls_toolbook_button3">
1202 <label>Button N3
</label>
1208 <object class=
"choicebookpage">
1209 <label>wxTreebook
</label>
1210 <object class=
"wxTreebook" name=
"controls_treebook">
1211 <size>350,
280</size>
1212 <style>wxSUNKEN_BORDER
</style>
1215 <bitmap stock_id=
"wxART_HELP_BOOK"/>
1216 <bitmap stock_id=
"wxART_QUESTION"/>
1217 <bitmap stock_id=
"wxART_INFORMATION"/>
1218 <bitmap stock_id=
"wxART_GO_HOME"/>
1220 <object class=
"treebookpage">
1221 <label>Page
1</label>
1224 <expanded>1</expanded>
1225 <object class=
"wxButton" name=
"controls_treebook_button1">
1226 <size>200,
180</size>
1227 <label>Button N1
</label>
1230 <object class=
"treebookpage">
1231 <label>Empty Page
2</label>
1234 <expanded>1</expanded>
1236 <object class=
"treebookpage">
1237 <label>Page
3</label>
1240 <object class=
"wxButton" name=
"controls_treebook_button3">
1241 <size>200,
180</size>
1242 <label>Button N3
</label>
1245 <object class=
"treebookpage">
1246 <label>Page
4</label>
1249 <object class=
"wxButton" name=
"controls_treebook_button4">
1250 <size>200,
180</size>
1251 <label>Button N4
</label>
1257 <object class=
"choicebookpage">
1258 <label>wxTreeCtrl
</label>
1259 <object class=
"wxPanel" name=
"treectrl">
1260 <object class=
"wxFlexGridSizer">
1265 <growablecols>0</growablecols>
1266 <growablerows>0</growablerows>
1267 <object class=
"sizeritem">
1268 <flag>wxALIGN_CENTRE|wxALL
</flag>
1270 <object class=
"wxTreeCtrl" name=
"controls_treectrl">
1271 <size>280,
180</size>
1272 <style>wxTR_HAS_BUTTONS|wxSUNKEN_BORDER
</style>
1279 <object class=
"choicebookpage">
1280 <label>wx*PickerCtrl
</label>
1281 <object class=
"wxPanel" name=
"pickers">
1282 <object class=
"wxFlexGridSizer">
1287 <growablecols>0,
1</growablecols>
1288 <growablerows>0,
1,
2,
3</growablerows>
1289 <object class=
"sizeritem">
1290 <flag>wxALIGN_CENTRE|wxALL
</flag>
1292 <object class=
"wxStaticText" name=
"controls_pickers_statictext">
1293 <label>wxColourPickerCtrl:
</label>
1296 <object class=
"sizeritem">
1297 <flag>wxGROW|wxALL
</flag>
1300 <object class=
"wxColourPickerCtrl" name=
"controls_colourpicker">
1301 <value>#
00ff00
</value>
1302 <style>wxCLRP_SHOW_LABEL
</style>
1305 <object class=
"sizeritem">
1306 <flag>wxALIGN_CENTRE|wxALL
</flag>
1308 <object class=
"wxStaticText" name=
"controls_pickers_statictext2">
1309 <label>wxFilePickerCtrl:
</label>
1312 <object class=
"sizeritem">
1313 <flag>wxGROW|wxALL
</flag>
1316 <object class=
"wxFilePickerCtrl" name=
"controls_filepicker">
1317 <message>Here goes a message
</message>
1318 <style>wxFLP_OPEN
</style>
1319 <wildcard>*.png
</wildcard>
1323 <object class=
"sizeritem">
1324 <flag>wxALIGN_CENTRE|wxALL
</flag>
1326 <object class=
"wxStaticText" name=
"controls_pickers_statictext3">
1327 <label>wxDirPickerCtrl:
</label>
1330 <object class=
"sizeritem">
1331 <flag>wxGROW|wxALL
</flag>
1334 <object class=
"wxDirPickerCtrl" name=
"controls_dirpicker">
1336 <style>wxDIRP_CHANGE_DIR
</style>
1337 <message>Here goes a message
</message>
1340 <object class=
"sizeritem">
1341 <flag>wxALIGN_CENTRE|wxALL
</flag>
1343 <object class=
"wxStaticText" name=
"controls_pickers_statictext4">
1344 <label>wxFontPickerCtrl:
</label>
1347 <object class=
"sizeritem">
1348 <flag>wxGROW|wxALL
</flag>
1351 <object class=
"wxFontPickerCtrl" name=
"controls_fontpicker">
1352 <style>wxFNTP_USEFONT_FOR_LABEL
</style>
1355 <sysfont>wxSYS_DEFAULT_GUI_FONT
</sysfont>
1363 <object class=
"choicebookpage">
1364 <label>The Rest
</label>
1365 <object class=
"wxPanel" name=
"Rest">
1366 <object class=
"wxFlexGridSizer">
1371 <growablecols>0</growablecols>
1372 <growablerows>0,
1,
2,
3,
4,
5</growablerows>
1373 <object class=
"sizeritem">
1374 <flag>wxALIGN_CENTRE|wxALL
</flag>
1376 <object class=
"wxStaticText" name=
"controls_dialog_statictext">
1377 <label>wxDialog (This dialog is one)
</label>
1380 <object class=
"sizeritem">
1381 <flag>wxALIGN_CENTRE|wxALL
</flag>
1383 <object class=
"wxStaticText" name=
"controls_frame_statictext">
1384 <label>wxFrame (This application's main frame is one)
</label>
1387 <object class=
"sizeritem">
1388 <flag>wxALIGN_CENTRE|wxALL
</flag>
1390 <object class=
"wxStaticText" name=
"controls_menu_statictext">
1391 <label>wxMenu (This application's main frame uses one)
</label>
1394 <object class=
"sizeritem">
1395 <flag>wxALIGN_CENTRE|wxALL
</flag>
1397 <object class=
"wxStaticText" name=
"controls_notebook_statictext">
1398 <label>wxBookCtrl (This dialog uses wxChoicebook)
</label>
1401 <object class=
"sizeritem">
1402 <flag>wxALIGN_CENTRE|wxALL
</flag>
1404 <object class=
"wxStaticText" name=
"controls_sizer">
1405 <label>wxSizer (Used throughout application)
</label>
1408 <object class=
"sizeritem">
1409 <flag>wxALIGN_CENTRE|wxALL
</flag>
1411 <object class=
"wxStaticText" name=
"controls_unknown_statictext">
1412 <label>unknown controls (See Custom Class example)
</label>
1420 <object class=
"sizeritem">
1421 <flag>wxALIGN_CENTRE|wxALL
</flag>
1423 <object class=
"wxButton" name=
"wxID_OK">
1425 <default>1</default>