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">
863 <object class=
"choicebookpage">
864 <label>wxStaticBitmap
</label>
865 <object class=
"wxPanel" name=
"staticbitmap">
866 <object class=
"wxFlexGridSizer">
871 <growablecols>0</growablecols>
872 <growablerows>0</growablerows>
873 <object class=
"sizeritem">
874 <flag>wxALIGN_CENTRE|wxALL
</flag>
876 <object class=
"wxStaticBitmap" name=
"controls_staticbitmap">
877 <bitmap>stop.xpm
</bitmap>
883 <object class=
"choicebookpage">
884 <label>wxStaticBox
</label>
885 <object class=
"wxPanel" name=
"staticbox">
886 <object class=
"wxFlexGridSizer">
891 <growablecols>0</growablecols>
892 <growablerows>0</growablerows>
893 <object class=
"sizeritem">
894 <flag>wxGROW|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
896 <object class=
"wxStaticBoxSizer">
897 <orient>wxVERTICAL
</orient>
898 <label>Internet options
</label>
904 <object class=
"choicebookpage">
905 <label>wxStaticLine
</label>
906 <object class=
"wxPanel" name=
"staticline">
907 <object class=
"wxFlexGridSizer">
912 <growablecols>0</growablecols>
913 <growablerows>0,
1</growablerows>
914 <object class=
"sizeritem">
915 <flag>wxALIGN_CENTRE|wxALL
</flag>
917 <object class=
"wxStaticLine" name=
"controls_v_staticline">
919 <style>wxLI_VERTICAL
</style>
922 <object class=
"sizeritem">
923 <flag>wxALIGN_CENTRE|wxALL
</flag>
925 <object class=
"wxStaticLine" name=
"controls_h_staticline">
927 <style>wxLI_HORIZONTAL
</style>
933 <object class=
"choicebookpage">
934 <label>wxStaticText
</label>
935 <object class=
"wxPanel" name=
"statictext">
936 <object class=
"wxFlexGridSizer">
941 <growablecols>0</growablecols>
942 <growablerows>0</growablerows>
943 <object class=
"sizeritem">
944 <flag>wxALIGN_CENTRE|wxALL
</flag>
946 <object class=
"wxStaticText" name=
"controls_statictext">
947 <label>It was a dark and stormy night.
</label>
953 <object class=
"choicebookpage">
954 <label>wxTextCtrl
</label>
955 <object class=
"wxPanel" name=
"textctrl">
956 <object class=
"wxFlexGridSizer">
961 <growablecols>0,
1</growablecols>
962 <growablerows>0,
1,
2</growablerows>
963 <object class=
"sizeritem">
964 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
966 <object class=
"wxStaticText" name=
"controls_textctrl1_statictext">
967 <label>Single line:
</label>
970 <object class=
"sizeritem">
971 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
973 <object class=
"wxTextCtrl" name=
"controls_single_textctrl">
975 <value>A.A. Milne
</value>
978 <object class=
"sizeritem">
979 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
981 <object class=
"wxStaticText" name=
"controls_textctrl2_statictext">
982 <label>Password:
</label>
985 <object class=
"sizeritem">
986 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
988 <object class=
"wxTextCtrl" name=
"controls_password_textctrl">
990 <style>wxTE_PASSWORD
</style>
991 <value>TooManySecrets
</value>
994 <object class=
"sizeritem">
995 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
997 <object class=
"wxStaticText" name=
"controls_textctrl3_statictext">
998 <label>Multiline:
</label>
1001 <object class=
"sizeritem">
1002 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
1004 <object class=
"wxTextCtrl" name=
"controls_multiline_textctrl">
1006 <style>wxTE_MULTILINE
</style>
1007 <value>"So many pretty widgets" said Pooh, said he.
"So many pretty widgets", said Pooh.
</value>
1010 <object class=
"sizeritem">
1011 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
1013 <object class=
"wxStaticText" name=
"controls_textctrl4_statictext">
1014 <label>Search for:
</label>
1017 <object class=
"sizeritem">
1018 <flag>wxALIGN_CENTER_VERTICAL|wxALL
</flag>
1020 <object class=
"wxSearchCtrl" name=
"controls_multiline_searchctrl">
1022 <value>true love
</value>
1029 <object class=
"choicebookpage">
1030 <label>wxToolBar
</label>
1031 <object class=
"wxPanel" name=
"button">
1032 <object class=
"wxFlexGridSizer">
1037 <growablecols>1</growablecols>
1038 <object class=
"sizeritem">
1039 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
1041 <object class=
"wxStaticText" name=
"controls_normal_button">
1042 <label>Transparent background:
</label>
1045 <object class=
"sizeritem">
1046 <flag>wxEXPAND|wxALL
</flag>
1048 <object class=
"wxToolBar">
1049 <style>wxTB_FLAT|wxTB_NODIVIDER
</style>
1050 <margins>2,
2</margins>
1051 <object class=
"tool" name=
"New">
1052 <bitmap stock_id=
"wxART_NEW"/>
1055 <object class=
"tool" name=
"view_auto">
1056 <bitmap stock_id=
"wxART_FILE_OPEN"/>
1059 <object class=
"wxMenu">
1060 <object class=
"wxMenuItem" name=
"view_as_text">
1061 <label>View as text
</label>
1063 <object class=
"wxMenuItem" name=
"view_as_hex">
1064 <label>View as binary
</label>
1069 <object class=
"separator"/>
1070 <object class=
"tool" name=
"home">
1072 <bitmap stock_id=
"wxART_GO_HOME"/>
1075 <object class=
"separator"/>
1076 <object class=
"tool" name=
"up">
1078 <bitmap stock_id=
"wxART_GO_UP"/>
1081 <object class=
"tool" name=
"down">
1083 <bitmap stock_id=
"wxART_GO_DOWN"/>
1086 <object class=
"space"/>
1087 <object class=
"wxComboBox">
1090 <item>a combobox
</item>
1091 <item>in the toolbar
</item>
1094 <object class=
"wxOwnerDrawnComboBox">
1096 <item>Owner Drawn
</item>
1097 <item>combobox
</item>
1098 <item>in the toolbar
</item>
1103 <object class=
"sizeritem">
1104 <flag>wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL
</flag>
1106 <object class=
"wxStaticText" name=
"controls_statictext2_button">
1107 <label>Fixed color background:
</label>
1110 <object class=
"sizeritem">
1111 <flag>wxEXPAND|wxALL
</flag>
1113 <object class=
"wxToolBar">
1114 <style>wxTB_FLAT|wxTB_NODIVIDER
</style>
1116 <margins>2,
2</margins>
1117 <object class=
"tool" name=
"New">
1118 <bitmap stock_id=
"wxART_NEW"/>
1121 <object class=
"tool" name=
"view_auto">
1122 <bitmap stock_id=
"wxART_FILE_OPEN"/>
1125 <object class=
"wxMenu">
1126 <object class=
"wxMenuItem" name=
"view_as_text">
1127 <label>View as text
</label>
1129 <object class=
"wxMenuItem" name=
"view_as_hex">
1130 <label>View as binary
</label>
1135 <object class=
"separator"/>
1136 <object class=
"tool" name=
"home">
1138 <bitmap stock_id=
"wxART_GO_HOME"/>
1141 <object class=
"separator"/>
1142 <object class=
"tool" name=
"up">
1144 <bitmap stock_id=
"wxART_GO_UP"/>
1147 <object class=
"tool" name=
"down">
1149 <bitmap stock_id=
"wxART_GO_DOWN"/>
1152 <object class=
"space"/>
1153 <object class=
"wxComboBox">
1156 <item>a combobox
</item>
1157 <item>in the toolbar
</item>
1160 <object class=
"wxOwnerDrawnComboBox">
1162 <item>Owner Drawn
</item>
1163 <item>combobox
</item>
1164 <item>in the toolbar
</item>
1173 <object class=
"choicebookpage">
1174 <label>wxToolbook
</label>
1175 <object class=
"wxToolbook" name=
"controls_toolbook">
1176 <style>wxTBK_HORZ_LAYOUT
</style>
1177 <size>350,
280</size>
1179 <bitmap stock_id=
"wxART_QUESTION"/>
1180 <bitmap stock_id=
"wxART_INFORMATION"/>
1181 <bitmap stock_id=
"wxART_GO_HOME"/>
1183 <object class=
"toolbookpage">
1184 <label>Page
1</label>
1186 <object class=
"wxButton" name=
"controls_toolbook_button1">
1187 <label>Button N1
</label>
1190 <object class=
"toolbookpage">
1191 <label>Page
2</label>
1193 <object class=
"wxButton" name=
"controls_toolbook_button2">
1194 <label>Button N2
</label>
1197 <object class=
"toolbookpage">
1198 <label>Page
3</label>
1200 <object class=
"wxButton" name=
"controls_toolbook_button3">
1201 <label>Button N3
</label>
1207 <object class=
"choicebookpage">
1208 <label>wxTreebook
</label>
1209 <object class=
"wxTreebook" name=
"controls_treebook">
1210 <size>350,
280</size>
1211 <style>wxSUNKEN_BORDER
</style>
1214 <bitmap stock_id=
"wxART_HELP_BOOK"/>
1215 <bitmap stock_id=
"wxART_QUESTION"/>
1216 <bitmap stock_id=
"wxART_INFORMATION"/>
1217 <bitmap stock_id=
"wxART_GO_HOME"/>
1219 <object class=
"treebookpage">
1220 <label>Page
1</label>
1223 <expanded>1</expanded>
1224 <object class=
"wxButton" name=
"controls_treebook_button1">
1225 <size>200,
180</size>
1226 <label>Button N1
</label>
1229 <object class=
"treebookpage">
1230 <label>Empty Page
2</label>
1233 <expanded>1</expanded>
1235 <object class=
"treebookpage">
1236 <label>Page
3</label>
1239 <object class=
"wxButton" name=
"controls_treebook_button3">
1240 <size>200,
180</size>
1241 <label>Button N3
</label>
1244 <object class=
"treebookpage">
1245 <label>Page
4</label>
1248 <object class=
"wxButton" name=
"controls_treebook_button4">
1249 <size>200,
180</size>
1250 <label>Button N4
</label>
1256 <object class=
"choicebookpage">
1257 <label>wxTreeCtrl
</label>
1258 <object class=
"wxPanel" name=
"treectrl">
1259 <object class=
"wxFlexGridSizer">
1264 <growablecols>0</growablecols>
1265 <growablerows>0</growablerows>
1266 <object class=
"sizeritem">
1267 <flag>wxALIGN_CENTRE|wxALL
</flag>
1269 <object class=
"wxTreeCtrl" name=
"controls_treectrl">
1270 <size>280,
180</size>
1271 <style>wxTR_HAS_BUTTONS|wxSUNKEN_BORDER
</style>
1278 <object class=
"choicebookpage">
1279 <label>wx*PickerCtrl
</label>
1280 <object class=
"wxPanel" name=
"pickers">
1281 <object class=
"wxFlexGridSizer">
1286 <growablecols>0,
1</growablecols>
1287 <growablerows>0,
1,
2,
3</growablerows>
1288 <object class=
"sizeritem">
1289 <flag>wxALIGN_CENTRE|wxALL
</flag>
1291 <object class=
"wxStaticText" name=
"controls_pickers_statictext">
1292 <label>wxColourPickerCtrl:
</label>
1295 <object class=
"sizeritem">
1296 <flag>wxGROW|wxALL
</flag>
1299 <object class=
"wxColourPickerCtrl" name=
"controls_colourpicker">
1300 <value>#
00ff00
</value>
1301 <style>wxCLRP_SHOW_LABEL
</style>
1304 <object class=
"sizeritem">
1305 <flag>wxALIGN_CENTRE|wxALL
</flag>
1307 <object class=
"wxStaticText" name=
"controls_pickers_statictext2">
1308 <label>wxFilePickerCtrl:
</label>
1311 <object class=
"sizeritem">
1312 <flag>wxGROW|wxALL
</flag>
1315 <object class=
"wxFilePickerCtrl" name=
"controls_filepicker">
1316 <message>Here goes a message
</message>
1317 <style>wxFLP_OPEN
</style>
1318 <wildcard>*.png
</wildcard>
1322 <object class=
"sizeritem">
1323 <flag>wxALIGN_CENTRE|wxALL
</flag>
1325 <object class=
"wxStaticText" name=
"controls_pickers_statictext3">
1326 <label>wxDirPickerCtrl:
</label>
1329 <object class=
"sizeritem">
1330 <flag>wxGROW|wxALL
</flag>
1333 <object class=
"wxDirPickerCtrl" name=
"controls_dirpicker">
1335 <style>wxDIRP_CHANGE_DIR
</style>
1336 <message>Here goes a message
</message>
1339 <object class=
"sizeritem">
1340 <flag>wxALIGN_CENTRE|wxALL
</flag>
1342 <object class=
"wxStaticText" name=
"controls_pickers_statictext4">
1343 <label>wxFontPickerCtrl:
</label>
1346 <object class=
"sizeritem">
1347 <flag>wxGROW|wxALL
</flag>
1350 <object class=
"wxFontPickerCtrl" name=
"controls_fontpicker">
1351 <style>wxFNTP_USEFONT_FOR_LABEL
</style>
1354 <sysfont>wxSYS_DEFAULT_GUI_FONT
</sysfont>
1362 <object class=
"choicebookpage">
1363 <label>The Rest
</label>
1364 <object class=
"wxPanel" name=
"Rest">
1365 <object class=
"wxFlexGridSizer">
1370 <growablecols>0</growablecols>
1371 <growablerows>0,
1,
2,
3,
4,
5</growablerows>
1372 <object class=
"sizeritem">
1373 <flag>wxALIGN_CENTRE|wxALL
</flag>
1375 <object class=
"wxStaticText" name=
"controls_dialog_statictext">
1376 <label>wxDialog (This dialog is one)
</label>
1379 <object class=
"sizeritem">
1380 <flag>wxALIGN_CENTRE|wxALL
</flag>
1382 <object class=
"wxStaticText" name=
"controls_frame_statictext">
1383 <label>wxFrame (This application's main frame is one)
</label>
1386 <object class=
"sizeritem">
1387 <flag>wxALIGN_CENTRE|wxALL
</flag>
1389 <object class=
"wxStaticText" name=
"controls_menu_statictext">
1390 <label>wxMenu (This application's main frame uses one)
</label>
1393 <object class=
"sizeritem">
1394 <flag>wxALIGN_CENTRE|wxALL
</flag>
1396 <object class=
"wxStaticText" name=
"controls_notebook_statictext">
1397 <label>wxBookCtrl (This dialog uses wxChoicebook)
</label>
1400 <object class=
"sizeritem">
1401 <flag>wxALIGN_CENTRE|wxALL
</flag>
1403 <object class=
"wxStaticText" name=
"controls_sizer">
1404 <label>wxSizer (Used throughout application)
</label>
1407 <object class=
"sizeritem">
1408 <flag>wxALIGN_CENTRE|wxALL
</flag>
1410 <object class=
"wxStaticText" name=
"controls_unknown_statictext">
1411 <label>unknown controls (See Custom Class example)
</label>
1419 <object class=
"sizeritem">
1420 <flag>wxALIGN_CENTRE|wxALL
</flag>
1422 <object class=
"wxButton" name=
"wxID_OK">
1424 <default>1</default>